KickJava   Java API By Example, From Geeks To Geeks.

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


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