Package org.loboevolution.svg
Interface SVGColor
- All Known Subinterfaces:
SVGPaint
public interface SVGColor
SVGColor interface.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final shortConstant SVG_COLORTYPE_CURRENTCOLOR=3static final shortConstant SVG_COLORTYPE_RGBCOLOR=1static final shortConstant SVG_COLORTYPE_RGBCOLOR_ICCCOLOR=2static final shortConstant SVG_COLORTYPE_UNKNOWN=0 -
Method Summary
Modifier and TypeMethodDescriptionshortgetColorType.getICCColor.voidsetColor.voidsetRGBColor(String rgbColor) setRGBColor.voidsetRGBColorICCColor(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
SVGICCColorobject.
-
setRGBColor
setRGBColor.
- Parameters:
rgbColor- aStringobject.- Throws:
SVGException- if any.SVGException- if any.SVGException- if any.SVGException- if any.SVGException- if any.
-
setRGBColorICCColor
setRGBColorICCColor.
- Parameters:
rgbColor- aStringobject.iccColor- aStringobject.- Throws:
SVGException- if any.SVGException- if any.SVGException- if any.SVGException- if any.SVGException- if any.
-
setColor
setColor.
- Parameters:
colorType- a short.rgbColor- aStringobject.iccColor- aStringobject.- Throws:
SVGException- if any.SVGException- if any.SVGException- if any.SVGException- if any.SVGException- if any.
-