2 package org.w3c.dom.svg;
4 import org.w3c.dom.css.RGBColor;
5 import org.w3c.dom.css.CSSValue;
7 public interface SVGColor extends
8 CSSValue {
9 // Color Types
10 public static final short SVG_COLORTYPE_UNKNOWN = 0;
11 public static final short SVG_COLORTYPE_RGBCOLOR = 1;
12 public static final short SVG_COLORTYPE_RGBCOLOR_ICCCOLOR = 2;
13 public static final short SVG_COLORTYPE_CURRENTCOLOR = 3;
15 public short getColorType( );
16 public RGBColor getRGBColor( );
17 public SVGICCColor getICCColor( );
19 public void setRGBColor ( String rgbColor )
20 throws SVGException;
21 public void setRGBColorICCColor ( String rgbColor, String iccColor )
22 throws SVGException;
23 public void setColor ( short colorType, String rgbColor, String iccColor )
24 throws SVGException;
25 }