org.apache.batik.css.engine.value.svg

Interface SVGValue

public interface SVGValue extends Value

This interface represents the values for properties like 'fill', 'flood-color'...
Method Summary
floatgetColor(int i)
Returns the color at the given index, if this object represents a SVGColor.
StringgetColorProfile()
Returns the color profile, if this object represents a SVGColor.
shortgetColorType()
Returns the color type, if this object represents a SVGColor.
intgetNumberOfColors()
Returns the number of colors, if this object represents a SVGColor.
shortgetPaintType()
Returns the paint type, if this object represents a SVGPaint.
StringgetUri()
Returns the URI of the paint, if this object represents a SVGPaint.

Method Detail

getColor

public float getColor(int i)
Returns the color at the given index, if this object represents a SVGColor.

getColorProfile

public String getColorProfile()
Returns the color profile, if this object represents a SVGColor.

getColorType

public short getColorType()
Returns the color type, if this object represents a SVGColor.

getNumberOfColors

public int getNumberOfColors()
Returns the number of colors, if this object represents a SVGColor.

getPaintType

public short getPaintType()
Returns the paint type, if this object represents a SVGPaint.

getUri

public String getUri()
Returns the URI of the paint, if this object represents a SVGPaint.
Copyright B) 2007 Apache Software Foundation. All Rights Reserved.