Package org.w3c.dom.svg
Interface SVGColor
-
-
Field Summary
Fields Modifier and Type Field Description static short
SVG_COLORTYPE_CURRENTCOLOR
static short
SVG_COLORTYPE_RGBCOLOR
static short
SVG_COLORTYPE_RGBCOLOR_ICCCOLOR
static short
SVG_COLORTYPE_UNKNOWN
-
Fields inherited from interface org.w3c.dom.css.CSSValue
CSS_CUSTOM, CSS_INHERIT, CSS_PRIMITIVE_VALUE, CSS_VALUE_LIST
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description short
getColorType()
SVGICCColor
getICCColor()
RGBColor
getRGBColor()
void
setColor(short colorType, java.lang.String rgbColor, java.lang.String iccColor)
void
setRGBColor(java.lang.String rgbColor)
void
setRGBColorICCColor(java.lang.String rgbColor, java.lang.String iccColor)
-
Methods inherited from interface org.w3c.dom.css.CSSValue
getCssText, getCssValueType, setCssText
-
-
-
-
Field Detail
-
SVG_COLORTYPE_UNKNOWN
static final short SVG_COLORTYPE_UNKNOWN
- See Also:
- Constant Field Values
-
SVG_COLORTYPE_RGBCOLOR
static final short SVG_COLORTYPE_RGBCOLOR
- See Also:
- Constant Field Values
-
SVG_COLORTYPE_RGBCOLOR_ICCCOLOR
static final short SVG_COLORTYPE_RGBCOLOR_ICCCOLOR
- See Also:
- Constant Field Values
-
SVG_COLORTYPE_CURRENTCOLOR
static final short SVG_COLORTYPE_CURRENTCOLOR
- See Also:
- Constant Field Values
-
-
Method Detail
-
getColorType
short getColorType()
-
getRGBColor
RGBColor getRGBColor()
-
getICCColor
SVGICCColor getICCColor()
-
setRGBColor
void setRGBColor(java.lang.String rgbColor) throws SVGException
- Throws:
SVGException
-
setRGBColorICCColor
void setRGBColorICCColor(java.lang.String rgbColor, java.lang.String iccColor) throws SVGException
- Throws:
SVGException
-
setColor
void setColor(short colorType, java.lang.String rgbColor, java.lang.String iccColor) throws SVGException
- Throws:
SVGException
-
-