|
|||||||||
| Home >> All >> org >> apache >> batik >> css >> engine >> value >> [ svg overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
org.apache.batik.css.engine.value.svg
Interface SVGValue

- All Superinterfaces:
- org.apache.batik.css.engine.value.Value
- public interface SVGValue
- extends org.apache.batik.css.engine.value.Value
This interface represents the values for properties like 'fill', 'flood-color'...
- Version:
- $Id: SVGValue.java,v 1.4 2004/08/18 07:12:58 vhardy Exp $
| Method Summary | |
float |
getColor(int i)
Returns the color at the given index, if this object represents a SVGColor. |
java.lang.String |
getColorProfile()
Returns the color profile, if this object represents a SVGColor. |
short |
getColorType()
Returns the color type, if this object represents a SVGColor. |
int |
getNumberOfColors()
Returns the number of colors, if this object represents a SVGColor. |
short |
getPaintType()
Returns the paint type, if this object represents a SVGPaint. |
java.lang.String |
getUri()
Returns the URI of the paint, if this object represents a SVGPaint. |
| Methods inherited from interface org.apache.batik.css.engine.value.Value |
getBlue, getBottom, getCssText, getCssValueType, getFloatValue, getGreen, getIdentifier, getLeft, getLength, getListStyle, getPrimitiveType, getRed, getRight, getSeparator, getStringValue, getTop, item |
| Method Detail |
getPaintType
public short getPaintType()
throws org.w3c.dom.DOMException
- Returns the paint type, if this object represents a SVGPaint.
getUri
public java.lang.String getUri() throws org.w3c.dom.DOMException
- Returns the URI of the paint, if this object represents a SVGPaint.
getColorType
public short getColorType()
throws org.w3c.dom.DOMException
- Returns the color type, if this object represents a SVGColor.
getColorProfile
public java.lang.String getColorProfile() throws org.w3c.dom.DOMException
- Returns the color profile, if this object represents a SVGColor.
getNumberOfColors
public int getNumberOfColors()
throws org.w3c.dom.DOMException
- Returns the number of colors, if this object represents a SVGColor.
getColor
public float getColor(int i)
throws org.w3c.dom.DOMException
- Returns the color at the given index, if this object represents
a SVGColor.
|
|||||||||
| Home >> All >> org >> apache >> batik >> css >> engine >> value >> [ svg overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC