1 2 package org.w3c.dom.svg; 3 4 import org.w3c.dom.css.CSSValue; 5 import org.w3c.dom.css.RGBColor; 6 7 public interface SVGColor extends 8 CSSValue { 9 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; 14 15 public short getColorType( ); 16 public RGBColor getRGBColor( ); 17 public SVGICCColor getICCColor( ); 18 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 } 26 | Popular Tags |