Package org.loboevolution.html.dom.svg
Interface SVGColor
- All Known Subinterfaces:
SVGPaint
public interface SVGColor
SVGColor interface.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final short
Constant SVG_COLORTYPE_CURRENTCOLOR=3static final short
Constant SVG_COLORTYPE_RGBCOLOR=1static final short
Constant SVG_COLORTYPE_RGBCOLOR_ICCCOLOR=2static final short
Constant SVG_COLORTYPE_UNKNOWN=0 -
Method Summary
Modifier and TypeMethodDescriptionshort
getColorType.getICCColor.void
setColor.void
setRGBColor
(String rgbColor) setRGBColor.void
setRGBColorICCColor
(String rgbColor, String iccColor) setRGBColorICCColor.
-
Field Details
-
SVG_COLORTYPE_UNKNOWN
static final short SVG_COLORTYPE_UNKNOWNConstant SVG_COLORTYPE_UNKNOWN=0- See Also:
-
SVG_COLORTYPE_RGBCOLOR
static final short SVG_COLORTYPE_RGBCOLORConstant SVG_COLORTYPE_RGBCOLOR=1- See Also:
-
SVG_COLORTYPE_RGBCOLOR_ICCCOLOR
static final short SVG_COLORTYPE_RGBCOLOR_ICCCOLORConstant SVG_COLORTYPE_RGBCOLOR_ICCCOLOR=2- See Also:
-
SVG_COLORTYPE_CURRENTCOLOR
static final short SVG_COLORTYPE_CURRENTCOLORConstant SVG_COLORTYPE_CURRENTCOLOR=3- See Also:
-
-
Method Details
-
getColorType
short getColorType()getColorType.
- Returns:
- a short.
-
getICCColor
SVGICCColor getICCColor()getICCColor.
- Returns:
- a
SVGICCColor
object.
-
setRGBColor
setRGBColor.
- Parameters:
rgbColor
- aString
object.- Throws:
SVGException
- if any.SVGException
- if any.SVGException
- if any.SVGException
- if any.SVGException
- if any.
-
setRGBColorICCColor
setRGBColorICCColor.
- Parameters:
rgbColor
- aString
object.iccColor
- aString
object.- Throws:
SVGException
- if any.SVGException
- if any.SVGException
- if any.SVGException
- if any.SVGException
- if any.
-
setColor
setColor.
- Parameters:
colorType
- a short.rgbColor
- aString
object.iccColor
- aString
object.- Throws:
SVGException
- if any.SVGException
- if any.SVGException
- if any.SVGException
- if any.SVGException
- if any.
-