SourceForge.net Logo
aXSL API 0.2

org.axsl.common.value
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()
          Returns the blur radius for this shadow effect.
 java.awt.Color getColor()
          Returns the color for this shadow effect.
 int getHorizontalDistance()
          Returns the horizontal distance to the right of the text.
 int getVerticalDistance()
          Returns the vertical distance below the text.
 

Method Detail

getHorizontalDistance

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

Returns:
The horizontal distance to the right of the text. A negative value places the shadow to the left of the text.

getVerticalDistance

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

Returns:
The vertical distance below the text. A negative value places the shadow above the text.

getBlurRadius

int getBlurRadius()
Returns the blur radius for this shadow effect.

Returns:
The blur radius, in millipoints, for this shadow effect.

getColor

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

Returns:
The color for this shadow effect.

SourceForge.net Logo
aXSL API 0.2

This documentation was created August 8 2007 by The aXSL Group and may be freely copied. See license for details.