summaryrefslogtreecommitdiffstats
path: root/src/main/java/org/w3c/dom/svg/SVGPaint.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/org/w3c/dom/svg/SVGPaint.java')
-rw-r--r--src/main/java/org/w3c/dom/svg/SVGPaint.java26
1 files changed, 26 insertions, 0 deletions
diff --git a/src/main/java/org/w3c/dom/svg/SVGPaint.java b/src/main/java/org/w3c/dom/svg/SVGPaint.java
new file mode 100644
index 0000000..6a6451c
--- /dev/null
+++ b/src/main/java/org/w3c/dom/svg/SVGPaint.java
@@ -0,0 +1,26 @@
+
+package org.w3c.dom.svg;
+
+import org.w3c.dom.css.RGBColor;
+
+public interface SVGPaint extends
+ SVGColor {
+ // Paint Types
+ public static final short SVG_PAINTTYPE_UNKNOWN = 0;
+ public static final short SVG_PAINTTYPE_RGBCOLOR = 1;
+ public static final short SVG_PAINTTYPE_RGBCOLOR_ICCCOLOR = 2;
+ public static final short SVG_PAINTTYPE_NONE = 101;
+ public static final short SVG_PAINTTYPE_CURRENTCOLOR = 102;
+ public static final short SVG_PAINTTYPE_URI_NONE = 103;
+ public static final short SVG_PAINTTYPE_URI_CURRENTCOLOR = 104;
+ public static final short SVG_PAINTTYPE_URI_RGBCOLOR = 105;
+ public static final short SVG_PAINTTYPE_URI_RGBCOLOR_ICCCOLOR = 106;
+ public static final short SVG_PAINTTYPE_URI = 107;
+
+ public short getPaintType( );
+ public String getUri( );
+
+ public void setUri ( String uri );
+ public void setPaint ( short paintType, String uri, String rgbColor, String iccColor )
+ throws SVGException;
+}