diff options
Diffstat (limited to 'src/main/java/org/w3c/dom/svg/SVGColor.java')
-rw-r--r-- | src/main/java/org/w3c/dom/svg/SVGColor.java | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/src/main/java/org/w3c/dom/svg/SVGColor.java b/src/main/java/org/w3c/dom/svg/SVGColor.java new file mode 100644 index 0000000..1f2b7a5 --- /dev/null +++ b/src/main/java/org/w3c/dom/svg/SVGColor.java @@ -0,0 +1,25 @@ +
+package org.w3c.dom.svg;
+
+import org.w3c.dom.css.RGBColor;
+import org.w3c.dom.css.CSSValue;
+
+public interface SVGColor extends
+ CSSValue {
+ // Color Types
+ public static final short SVG_COLORTYPE_UNKNOWN = 0;
+ public static final short SVG_COLORTYPE_RGBCOLOR = 1;
+ public static final short SVG_COLORTYPE_RGBCOLOR_ICCCOLOR = 2;
+ public static final short SVG_COLORTYPE_CURRENTCOLOR = 3;
+
+ public short getColorType( );
+ public RGBColor getRGBColor( );
+ public SVGICCColor getICCColor( );
+
+ public void setRGBColor ( String rgbColor )
+ throws SVGException;
+ public void setRGBColorICCColor ( String rgbColor, String iccColor )
+ throws SVGException;
+ public void setColor ( short colorType, String rgbColor, String iccColor )
+ throws SVGException;
+}
|