Interface SVGValue
- All Superinterfaces:
Value
This interface represents the values for properties like 'fill',
'flood-color'...
-
Method Summary
Modifier and TypeMethodDescriptionfloatgetColor(int i) Returns the color at the given index, if this object represents a SVGColor.Returns the color profile, if this object represents a SVGColor.shortReturns the color type, if this object represents a SVGColor.intReturns the number of colors, if this object represents a SVGColor.shortReturns the paint type, if this object represents a SVGPaint.getUri()Returns the URI of the paint, if this object represents a SVGPaint.Methods inherited from interface Value
getBlue, getBottom, getCssText, getCssValueType, getFloatValue, getGreen, getIdentifier, getLeft, getLength, getListStyle, getPrimitiveType, getRed, getRight, getSeparator, getStringValue, getTop, item
-
Method Details
-
getPaintType
Returns the paint type, if this object represents a SVGPaint.- Throws:
DOMException
-
getUri
Returns the URI of the paint, if this object represents a SVGPaint.- Throws:
DOMException
-
getColorType
Returns the color type, if this object represents a SVGColor.- Throws:
DOMException
-
getColorProfile
Returns the color profile, if this object represents a SVGColor.- Throws:
DOMException
-
getNumberOfColors
Returns the number of colors, if this object represents a SVGColor.- Throws:
DOMException
-
getColor
Returns the color at the given index, if this object represents a SVGColor.- Throws:
DOMException
-