Interface SVGColor

All Superinterfaces:
CSSValue
All Known Subinterfaces:
SVGPaint

@Deprecated(forRemoval=true) public interface SVGColor extends CSSValue
Deprecated, for removal: This API element is subject to removal in a future version.
Corresponds to color value definition for properties ‘stop-color’, ‘flood-color’ and ‘lighting-color’.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final short
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    static final short
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    static final short
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    static final short
    Deprecated, for removal: This API element is subject to removal in a future version.
     

    Fields inherited from interface org.w3c.dom.css.CSSValue

    CSS_CUSTOM, CSS_INHERIT, CSS_PRIMITIVE_VALUE, CSS_VALUE_LIST
  • Method Summary

    Modifier and Type
    Method
    Description
    short
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    default SVGICCColor
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    default RGBColor
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    void
    setColor(short colorType, String rgbColor, String iccColor)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    void
    setRGBColor(String rgbColor)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    void
    setRGBColorICCColor(String rgbColor, String iccColor)
    Deprecated, for removal: This API element is subject to removal in a future version.
     

    Methods inherited from interface org.w3c.dom.css.CSSValue

    getCssText, getCssValueType, setCssText
  • Field Details

    • SVG_COLORTYPE_UNKNOWN

      static final short SVG_COLORTYPE_UNKNOWN
      Deprecated, for removal: This API element is subject to removal in a future version.
      See Also:
    • SVG_COLORTYPE_RGBCOLOR

      static final short SVG_COLORTYPE_RGBCOLOR
      Deprecated, for removal: This API element is subject to removal in a future version.
      See Also:
    • SVG_COLORTYPE_RGBCOLOR_ICCCOLOR

      static final short SVG_COLORTYPE_RGBCOLOR_ICCCOLOR
      Deprecated, for removal: This API element is subject to removal in a future version.
      See Also:
    • SVG_COLORTYPE_CURRENTCOLOR

      static final short SVG_COLORTYPE_CURRENTCOLOR
      Deprecated, for removal: This API element is subject to removal in a future version.
      See Also:
  • Method Details

    • getColorType

      short getColorType()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • getRGBColor

      default RGBColor getRGBColor()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • getICCColor

      default SVGICCColor getICCColor()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • setRGBColor

      void setRGBColor(String rgbColor) throws SVGException
      Deprecated, for removal: This API element is subject to removal in a future version.
      Throws:
      SVGException
    • setRGBColorICCColor

      void setRGBColorICCColor(String rgbColor, String iccColor) throws SVGException
      Deprecated, for removal: This API element is subject to removal in a future version.
      Throws:
      SVGException
    • setColor

      void setColor(short colorType, String rgbColor, String iccColor) throws SVGException
      Deprecated, for removal: This API element is subject to removal in a future version.
      Throws:
      SVGException