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.ValueProvider
blueComponent, 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 . |
String |
getUri()
DOM: Implements
svg.SVGPaint . |
void |
setModificationHandler(CSSOMSVGColor.ModificationHandler h)
Sets the modification handler of this value.
|
void |
setPaint(short paintType,
String uri,
String rgbColor,
String iccColor)
DOM: Implements
svg.SVGPaint . |
void |
setUri(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, setRGBColorICCColor
public CSSOMSVGPaint(CSSOMSVGColor.ValueProvider vp)
public void setModificationHandler(CSSOMSVGColor.ModificationHandler h)
setModificationHandler
in class CSSOMSVGColor
public short getColorType()
svg.SVGColor
.getColorType
in class CSSOMSVGColor
public short getPaintType()
svg.SVGPaint
.public String getUri()
svg.SVGPaint
.public void setUri(String uri)
svg.SVGPaint
.public void setPaint(short paintType, String uri, String rgbColor, String iccColor)
svg.SVGPaint
.Copyright ? 2015 Apache Software Foundation. All Rights Reserved.