public class CSSOMSVGPaint extends CSSOMSVGColor
SVGPaint interface.| Modifier and Type | Class and Description |
|---|---|
class |
CSSOMSVGPaint.AbstractModificationHandler
Provides an abstract implementation of a PaintModificationHandler.
|
static interface |
CSSOMSVGPaint.PaintModificationHandler
To manage the modifications on a SVGPaint value.
|
CSSOMSVGColor.AbstractComponent, CSSOMSVGColor.BlueComponent, CSSOMSVGColor.ColorNumber, CSSOMSVGColor.FloatComponent, CSSOMSVGColor.GreenComponent, CSSOMSVGColor.ModificationHandler, CSSOMSVGColor.RedComponent, CSSOMSVGColor.ValueProviderblueComponent, greenComponent, handler, iccColors, redComponent, valueProvider| Constructor and Description |
|---|
CSSOMSVGPaint(CSSOMSVGColor.ValueProvider vp)
Creates a new CSSOMSVGPaint.
|
| Modifier and Type | Method and Description |
|---|---|
short |
getColorType()
DOM: Implements
svg.SVGColor. |
short |
getPaintType()
DOM: Implements
svg.SVGPaint. |
java.lang.String |
getUri()
DOM: Implements
svg.SVGPaint. |
void |
setModificationHandler(CSSOMSVGColor.ModificationHandler h)
Sets the modification handler of this value.
|
void |
setPaint(short paintType,
java.lang.String uri,
java.lang.String rgbColor,
java.lang.String iccColor)
DOM: Implements
svg.SVGPaint. |
void |
setUri(java.lang.String uri)
DOM: Implements
svg.SVGPaint. |
appendItem, clear, getBlue, getColorProfile, getColors, getCssText, getCssValueType, getGreen, getIccColor, getICCColor, getItem, getNumberOfItems, getRed, getRgbColor, getRGBColor, initialize, insertItemBefore, removeItem, replaceItem, setColor, setColorProfile, setCssText, setRGBColor, setRGBColorICCColorpublic CSSOMSVGPaint(CSSOMSVGColor.ValueProvider vp)
public void setModificationHandler(CSSOMSVGColor.ModificationHandler h)
setModificationHandler in class CSSOMSVGColorpublic short getColorType()
svg.SVGColor.getColorType in class CSSOMSVGColorpublic short getPaintType()
svg.SVGPaint.public java.lang.String getUri()
svg.SVGPaint.public void setUri(java.lang.String uri)
svg.SVGPaint.public void setPaint(short paintType,
java.lang.String uri,
java.lang.String rgbColor,
java.lang.String iccColor)
svg.SVGPaint.Copyright ? 2009 Apache Software Foundation. All Rights Reserved.