KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > w3c > dom > svg > SVGColor


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   // 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;
14
15   public short getColorType( );
16   public RGBColor getRGBColor( );
17   public SVGICCColor getICCColor( );
18
19   public void setRGBColor ( String JavaDoc rgbColor )
20                   throws SVGException;
21   public void setRGBColorICCColor ( String JavaDoc rgbColor, String JavaDoc iccColor )
22                   throws SVGException;
23   public void setColor ( short colorType, String JavaDoc rgbColor, String JavaDoc iccColor )
24                   throws SVGException;
25 }
26
Popular Tags