Class CSSOMSVGPaint

java.lang.Object
org.apache.batik.css.dom.CSSOMSVGColor
org.apache.batik.css.dom.CSSOMSVGPaint
All Implemented Interfaces:
org.w3c.dom.css.CSSValue, org.w3c.dom.css.RGBColor, org.w3c.dom.svg.SVGColor, org.w3c.dom.svg.SVGICCColor, org.w3c.dom.svg.SVGNumberList, org.w3c.dom.svg.SVGPaint
Direct Known Subclasses:
CSSOMSVGComputedStyle.ComputedCSSPaintValue, CSSOMSVGStyleDeclaration.StyleDeclarationPaintValue, SVGStylableElement.PresentationAttributePaintValue

public class CSSOMSVGPaint extends CSSOMSVGColor implements org.w3c.dom.svg.SVGPaint
This class implements the SVGPaint interface.
  • Constructor Details

  • Method Details

    • setModificationHandler

      public void setModificationHandler(CSSOMSVGColor.ModificationHandler h)
      Sets the modification handler of this value.
      Overrides:
      setModificationHandler in class CSSOMSVGColor
    • getColorType

      public short getColorType()
      DOM: Implements SVGColor.getColorType().
      Specified by:
      getColorType in interface org.w3c.dom.svg.SVGColor
      Overrides:
      getColorType in class CSSOMSVGColor
    • getPaintType

      public short getPaintType()
      DOM: Implements SVGPaint.getPaintType().
      Specified by:
      getPaintType in interface org.w3c.dom.svg.SVGPaint
    • getUri

      public String getUri()
      DOM: Implements SVGPaint.getUri().
      Specified by:
      getUri in interface org.w3c.dom.svg.SVGPaint
    • setUri

      public void setUri(String uri)
      DOM: Implements SVGPaint.setUri(String).
      Specified by:
      setUri in interface org.w3c.dom.svg.SVGPaint
    • setPaint

      public void setPaint(short paintType, String uri, String rgbColor, String iccColor)
      DOM: Implements SVGPaint.setPaint(short,String,String,String).
      Specified by:
      setPaint in interface org.w3c.dom.svg.SVGPaint