Package org.w3c.dom.svg
Interface SVGColor
- All Superinterfaces:
CSSValue
- All Known Subinterfaces:
SVGPaint
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final short
static final short
static final short
static final short
Fields inherited from interface org.w3c.dom.css.CSSValue
CSS_CUSTOM, CSS_INHERIT, CSS_PRIMITIVE_VALUE, CSS_VALUE_LIST
-
Method Summary
Modifier and TypeMethodDescriptionshort
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 Details
-
SVG_COLORTYPE_UNKNOWN
static final short SVG_COLORTYPE_UNKNOWN- See Also:
-
SVG_COLORTYPE_RGBCOLOR
static final short SVG_COLORTYPE_RGBCOLOR- See Also:
-
SVG_COLORTYPE_RGBCOLOR_ICCCOLOR
static final short SVG_COLORTYPE_RGBCOLOR_ICCCOLOR- See Also:
-
SVG_COLORTYPE_CURRENTCOLOR
static final short SVG_COLORTYPE_CURRENTCOLOR- See Also:
-
-
Method Details
-
getColorType
short getColorType() -
getRGBColor
RGBColor getRGBColor() -
getICCColor
SVGICCColor getICCColor() -
setRGBColor
- Throws:
SVGException
-
setRGBColorICCColor
- Throws:
SVGException
-
setColor
void setColor(short colorType, java.lang.String rgbColor, java.lang.String iccColor) throws SVGException - Throws:
SVGException
-