Package org.loboevolution.svg
Interface SVGPaint
- All Superinterfaces:
SVGColor
SVGPaint interface.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final shortConstant SVG_PAINTTYPE_CURRENTCOLOR=102static final shortConstant SVG_PAINTTYPE_NONE=101static final shortConstant SVG_PAINTTYPE_RGBCOLOR=1static final shortConstant SVG_PAINTTYPE_RGBCOLOR_ICCCOLOR=2static final shortConstant SVG_PAINTTYPE_UNKNOWN=0static final shortConstant SVG_PAINTTYPE_URI=107static final shortConstant SVG_PAINTTYPE_URI_CURRENTCOLOR=104static final shortConstant SVG_PAINTTYPE_URI_NONE=103static final shortConstant SVG_PAINTTYPE_URI_RGBCOLOR=105static final shortConstant SVG_PAINTTYPE_URI_RGBCOLOR_ICCCOLOR=106Fields inherited from interface org.loboevolution.svg.SVGColor
SVG_COLORTYPE_CURRENTCOLOR, SVG_COLORTYPE_RGBCOLOR, SVG_COLORTYPE_RGBCOLOR_ICCCOLOR, SVG_COLORTYPE_UNKNOWN -
Method Summary
Methods inherited from interface org.loboevolution.svg.SVGColor
getColorType, getICCColor, setColor, setRGBColor, setRGBColorICCColor
-
Field Details
-
SVG_PAINTTYPE_UNKNOWN
static final short SVG_PAINTTYPE_UNKNOWNConstant SVG_PAINTTYPE_UNKNOWN=0- See Also:
-
SVG_PAINTTYPE_RGBCOLOR
static final short SVG_PAINTTYPE_RGBCOLORConstant SVG_PAINTTYPE_RGBCOLOR=1- See Also:
-
SVG_PAINTTYPE_RGBCOLOR_ICCCOLOR
static final short SVG_PAINTTYPE_RGBCOLOR_ICCCOLORConstant SVG_PAINTTYPE_RGBCOLOR_ICCCOLOR=2- See Also:
-
SVG_PAINTTYPE_NONE
static final short SVG_PAINTTYPE_NONEConstant SVG_PAINTTYPE_NONE=101- See Also:
-
SVG_PAINTTYPE_CURRENTCOLOR
static final short SVG_PAINTTYPE_CURRENTCOLORConstant SVG_PAINTTYPE_CURRENTCOLOR=102- See Also:
-
SVG_PAINTTYPE_URI_NONE
static final short SVG_PAINTTYPE_URI_NONEConstant SVG_PAINTTYPE_URI_NONE=103- See Also:
-
SVG_PAINTTYPE_URI_CURRENTCOLOR
static final short SVG_PAINTTYPE_URI_CURRENTCOLORConstant SVG_PAINTTYPE_URI_CURRENTCOLOR=104- See Also:
-
SVG_PAINTTYPE_URI_RGBCOLOR
static final short SVG_PAINTTYPE_URI_RGBCOLORConstant SVG_PAINTTYPE_URI_RGBCOLOR=105- See Also:
-
SVG_PAINTTYPE_URI_RGBCOLOR_ICCCOLOR
static final short SVG_PAINTTYPE_URI_RGBCOLOR_ICCCOLORConstant SVG_PAINTTYPE_URI_RGBCOLOR_ICCCOLOR=106- See Also:
-
SVG_PAINTTYPE_URI
static final short SVG_PAINTTYPE_URIConstant SVG_PAINTTYPE_URI=107- See Also:
-
-
Method Details
-
getPaintType
short getPaintType()getPaintType.
- Returns:
- a short.
-
getUri
String getUri()getUri.
- Returns:
- a
Stringobject.
-
setUri
setUri.
- Parameters:
uri- aStringobject.
-
setPaint
setPaint.
- Parameters:
paintType- a short.uri- aStringobject.rgbColor- aStringobject.iccColor- aStringobject.- Throws:
SVGException- if any.SVGException- if any.SVGException- if any.SVGException- if any.SVGException- if any.
-