org.w3c.dom.svg.SVGPaint Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of xml-apis Show documentation
Show all versions of xml-apis Show documentation
xml-commons provides an Apache-hosted set of DOM, SAX, and
JAXP interfaces for use in other xml-based projects. Our hope is that we
can standardize on both a common version and packaging scheme for these
critical XML standards interfaces to make the lives of both our developers
and users easier. The External Components portion of xml-commons contains
interfaces that are defined by external standards organizations. For DOM,
that's the W3C; for SAX it's David Megginson and sax.sourceforge.net; for
JAXP it's Sun.
package org.w3c.dom.svg;
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;
}