public class CSSOMSVGPaint extends CSSOMSVGColor implements org.w3c.dom.svg.SVGPaint
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, valueProviderSVG_PAINTTYPE_CURRENTCOLOR, SVG_PAINTTYPE_NONE, SVG_PAINTTYPE_RGBCOLOR, SVG_PAINTTYPE_RGBCOLOR_ICCCOLOR, SVG_PAINTTYPE_UNKNOWN, SVG_PAINTTYPE_URI, SVG_PAINTTYPE_URI_CURRENTCOLOR, SVG_PAINTTYPE_URI_NONE, SVG_PAINTTYPE_URI_RGBCOLOR, SVG_PAINTTYPE_URI_RGBCOLOR_ICCCOLORSVG_COLORTYPE_CURRENTCOLOR, SVG_COLORTYPE_RGBCOLOR, SVG_COLORTYPE_RGBCOLOR_ICCCOLOR, SVG_COLORTYPE_UNKNOWNCSS_CUSTOM, CSS_INHERIT, CSS_PRIMITIVE_VALUE, CSS_VALUE_LIST| Constructor and Description |
|---|
CSSOMSVGPaint(CSSOMSVGColor.ValueProvider vp)
Creates a new CSSOMSVGPaint.
|
| Modifier and Type | Method and Description |
|---|---|
short |
getColorType()
DOM: Implements
SVGColor.getColorType(). |
short |
getPaintType()
DOM: Implements
SVGPaint.getPaintType(). |
String |
getUri()
DOM: Implements
SVGPaint.getUri(). |
void |
setModificationHandler(CSSOMSVGColor.ModificationHandler h)
Sets the modification handler of this value.
|
void |
setPaint(short paintType,
String uri,
String rgbColor,
String iccColor)
DOM: Implements
SVGPaint.setPaint(short,String,String,String). |
void |
setUri(String uri)
DOM: Implements
SVGPaint.setUri(String). |
appendItem, clear, getBlue, getColorProfile, getColors, getCssText, getCssValueType, getGreen, getIccColor, getICCColor, getItem, getNumberOfItems, getRed, getRgbColor, getRGBColor, initialize, insertItemBefore, removeItem, replaceItem, setColor, setColorProfile, setCssText, setRGBColor, setRGBColorICCColorclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetICCColor, getRGBColor, setColor, setRGBColor, setRGBColorICCColorgetCssText, getCssValueType, setCssTextpublic CSSOMSVGPaint(CSSOMSVGColor.ValueProvider vp)
public void setModificationHandler(CSSOMSVGColor.ModificationHandler h)
setModificationHandler in class CSSOMSVGColorpublic short getColorType()
SVGColor.getColorType().getColorType in interface org.w3c.dom.svg.SVGColorgetColorType in class CSSOMSVGColorpublic short getPaintType()
SVGPaint.getPaintType().getPaintType in interface org.w3c.dom.svg.SVGPaintpublic String getUri()
SVGPaint.getUri().getUri in interface org.w3c.dom.svg.SVGPaintpublic void setUri(String uri)
SVGPaint.setUri(String).setUri in interface org.w3c.dom.svg.SVGPaintpublic void setPaint(short paintType,
String uri,
String rgbColor,
String iccColor)
SVGPaint.setPaint(short,String,String,String).setPaint in interface org.w3c.dom.svg.SVGPaintCopyright © 2000–2020 Apache Software Foundation. All rights reserved.