org.w3c.dom.css
Interface CSS2TextShadow

All Superinterfaces:
CSSValue

public interface CSS2TextShadow
extends CSSValue

The CSS2TextShadow interface represents a simple value for the text-shadow CSS Level 2 property.

For this extension of the CSSValue interface, the valueType attribute of the underlying CSSValue interface shall be CSS_CUSTOM .

See also the Document Object Model (DOM) Level 2 Specification.

Since:
DOM Level 2

Fields inherited from interface org.w3c.dom.css.CSSValue
CSS_CUSTOM, CSS_INHERIT, CSS_PRIMITIVE_VALUE, CSS_VALUE_LIST
 
Method Summary
 CSSValue getBlur()
          The blur radius of the text shadow.
 CSSValue getColor()
          Specifies the color of the text shadow.
 CSSValue getHorizontal()
          The horizontal position of the text shadow.
 CSSValue getVertical()
          The vertical position of the text shadow.
 
Methods inherited from interface org.w3c.dom.css.CSSValue
getCssText, getCssValueType, setCssText
 

Method Detail

getColor

public CSSValue getColor()
Specifies the color of the text shadow. The CSS Value can contain an empty string if no color has been specified.

getHorizontal

public CSSValue getHorizontal()
The horizontal position of the text shadow. 0 if no length has been specified.

getVertical

public CSSValue getVertical()
The vertical position of the text shadow. 0 if no length has been specified.

getBlur

public CSSValue getBlur()
The blur radius of the text shadow. 0 if no length has been specified.

Source code is GPL'd at http://xmlconf.sourceforge.net.