Interface SVGValue

  • All Superinterfaces:
    Value

    public interface SVGValue
    extends Value
    This interface represents the values for properties like 'fill', 'flood-color'...
    Version:
    $Id: SVGValue.java 1733416 2016-03-03 07:07:13Z gadams $
    • Method Detail

      • getPaintType

        short getPaintType()
                    throws org.w3c.dom.DOMException
        Returns the paint type, if this object represents a SVGPaint.
        Throws:
        org.w3c.dom.DOMException
      • getUri

        java.lang.String getUri()
                         throws org.w3c.dom.DOMException
        Returns the URI of the paint, if this object represents a SVGPaint.
        Throws:
        org.w3c.dom.DOMException
      • getColorType

        short getColorType()
                    throws org.w3c.dom.DOMException
        Returns the color type, if this object represents a SVGColor.
        Throws:
        org.w3c.dom.DOMException
      • getColorProfile

        java.lang.String getColorProfile()
                                  throws org.w3c.dom.DOMException
        Returns the color profile, if this object represents a SVGColor.
        Throws:
        org.w3c.dom.DOMException
      • getNumberOfColors

        int getNumberOfColors()
                       throws org.w3c.dom.DOMException
        Returns the number of colors, if this object represents a SVGColor.
        Throws:
        org.w3c.dom.DOMException
      • getColor

        float getColor​(int i)
                throws org.w3c.dom.DOMException
        Returns the color at the given index, if this object represents a SVGColor.
        Throws:
        org.w3c.dom.DOMException