SVGPaint in SVG 1.1

(no overview available)

Inherits from:

Instance Properties

name type description
colorType Number (read only) [from SVGColor]
cssText String [from CSSValue]
cssValueType Number (read only) [from CSSValue]
iccColor SVGICCColor (read only) [from SVGColor]
paintType Number (read only)
uri String (read only)

Instance Methods

name returns description
setColor(colorType,rgbColor,iccColor) (none) [from SVGColor]
setPaint(paintType,uri,rgbColor,…) (none)
setRGBColor(rgbColor) (none) [from SVGColor]
setRGBColorICCColor(rgbColor,iccColor) (none) [from SVGColor]
setUri(uri) (none)

Constants

name object value description
SVG_PAINTTYPE_UNKNOWN SVGPaint 0
SVG_PAINTTYPE_RGBCOLOR SVGPaint 1
SVG_PAINTTYPE_RGBCOLOR_ICCCOLOR SVGPaint 2
SVG_PAINTTYPE_NONE SVGPaint 101
SVG_PAINTTYPE_CURRENTCOLOR SVGPaint 102
SVG_PAINTTYPE_URI_NONE SVGPaint 103
SVG_PAINTTYPE_URI_CURRENTCOLOR SVGPaint 104
SVG_PAINTTYPE_URI_RGBCOLOR SVGPaint 105
SVG_PAINTTYPE_URI_RGBCOLOR_ICCCOLOR SVGPaint 106
SVG_PAINTTYPE_URI SVGPaint 107