Interface SVGValue

All Superinterfaces:
Value

public interface SVGValue extends Value
This interface represents the values for properties like 'fill', 'flood-color'...
  • Method Details

    • getPaintType

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

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

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

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

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

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