1 \r
2 package org.w3c.dom.svg;\r
3 \r
4 import org.w3c.dom.css.RGBColor;\r
5 \r
6 public interface SVGPaint extends \r
7 SVGColor {\r
8 // Paint Types\r
9 public static final short SVG_PAINTTYPE_UNKNOWN = 0;\r
10 public static final short SVG_PAINTTYPE_RGBCOLOR = 1;\r
11 public static final short SVG_PAINTTYPE_RGBCOLOR_ICCCOLOR = 2;\r
12 public static final short SVG_PAINTTYPE_NONE = 101;\r
13 public static final short SVG_PAINTTYPE_CURRENTCOLOR = 102;\r
14 public static final short SVG_PAINTTYPE_URI_NONE = 103;\r
15 public static final short SVG_PAINTTYPE_URI_CURRENTCOLOR = 104;\r
16 public static final short SVG_PAINTTYPE_URI_RGBCOLOR = 105;\r
17 public static final short SVG_PAINTTYPE_URI_RGBCOLOR_ICCCOLOR = 106;\r
18 public static final short SVG_PAINTTYPE_URI = 107;\r
19 \r
20 public short getPaintType( );\r
21 public String getUri( );\r
22 \r
23 public void setUri ( String uri );\r
24 public void setPaint ( short paintType, String uri, String rgbColor, String iccColor )\r
25 throws SVGException;\r
26 }\r