org.apache.fop.dom.svg
Class SVGLengthImpl
- public class SVGLengthImpl
- implements SVGLength
a length quantity in SVG
Field Summary |
(package private) short | unitType |
unitType
short unitType
SVGLengthImpl
public SVGLengthImpl(String len)
- set the length given a particular String specifying length and units
SVGLengthImpl
public SVGLengthImpl()
convertToSpecifiedUnits
public void convertToSpecifiedUnits(short unitType)
throws SVGException
getAnimatedValue
public float getAnimatedValue()
getUnitType
public short getUnitType()
getValue
public float getValue()
getValueAsString
public String getValueAsString()
getValueInSpecifiedUnits
public float getValueInSpecifiedUnits()
newValueSpecifiedUnits
public void newValueSpecifiedUnits(short unitType, float valueInSpecifiedUnits)
throws SVGException
setValue
public void setValue(float value)
setValueAsString
public void setValueAsString(String valueAsString)
setValueInSpecifiedUnits
public void setValueInSpecifiedUnits(float valueInSpecifiedUnits)
toString
public String toString()