SourceForge.net Logo
aXSL API 0.1

org.axsl.foR
Interface ShadowEffect


public interface ShadowEffect

Shadow Effect is not a datatype listed in the XSL-FO Standard. However, the definition of the text-shadow property at Section 7.16.5 requires a compound data structure of some kind to handle its options.


Method Summary
 int getblurRadius(int fontSize)
          Returns the blur radius for this shadow effect.
 java.awt.Color getColor()
          Returns the color for this shadow effect.
 int getHorizontalDistance(int fontSize)
          Returns the horizontal distance to the right of the text.
 int getVerticalDistance(int fontSize)
          Returns the vertical distance below the text.
 

Method Detail

getHorizontalDistance

public int getHorizontalDistance(int fontSize)
Returns the horizontal distance to the right of the text.

Parameters:
fontSize - The font-size to be used for computing any lengths relative to font-size.
Returns:
The horizontal distance to the right of the text. A negative value places the shadow to the left of the text.

getVerticalDistance

public int getVerticalDistance(int fontSize)
Returns the vertical distance below the text.

Parameters:
fontSize - The font-size to be used for computing any lengths relative to font-size.
Returns:
The vertical distance below the text. A negative value places the shadow above the text.

getblurRadius

public int getblurRadius(int fontSize)
Returns the blur radius for this shadow effect.

Parameters:
fontSize - The font-size to be used for computing any lengths relative to font-size.
Returns:
The blur radius, in millipoints, for this shadow effect.

getColor

public java.awt.Color getColor()
Returns the color for this shadow effect.

Returns:
The color for this shadow effect.

SourceForge.net Logo
aXSL API 0.1

This documentation was created September 6 2006 by The aXSL Group and may be freely copied. See license for details.