org.w3c.dom.svg
Interface SVGLength
public interface SVGLength
SVG_LENGTHTYPE_UNKNOWN
static final short SVG_LENGTHTYPE_UNKNOWN
- See Also:
- Constant Field Values
SVG_LENGTHTYPE_NUMBER
static final short SVG_LENGTHTYPE_NUMBER
- See Also:
- Constant Field Values
SVG_LENGTHTYPE_PERCENTAGE
static final short SVG_LENGTHTYPE_PERCENTAGE
- See Also:
- Constant Field Values
SVG_LENGTHTYPE_EMS
static final short SVG_LENGTHTYPE_EMS
- See Also:
- Constant Field Values
SVG_LENGTHTYPE_EXS
static final short SVG_LENGTHTYPE_EXS
- See Also:
- Constant Field Values
SVG_LENGTHTYPE_PX
static final short SVG_LENGTHTYPE_PX
- See Also:
- Constant Field Values
SVG_LENGTHTYPE_CM
static final short SVG_LENGTHTYPE_CM
- See Also:
- Constant Field Values
SVG_LENGTHTYPE_MM
static final short SVG_LENGTHTYPE_MM
- See Also:
- Constant Field Values
SVG_LENGTHTYPE_IN
static final short SVG_LENGTHTYPE_IN
- See Also:
- Constant Field Values
SVG_LENGTHTYPE_PT
static final short SVG_LENGTHTYPE_PT
- See Also:
- Constant Field Values
SVG_LENGTHTYPE_PC
static final short SVG_LENGTHTYPE_PC
- See Also:
- Constant Field Values
getUnitType
short getUnitType()
getValue
float getValue()
setValue
void setValue(float value)
throws DOMException
- Throws:
DOMException
getValueInSpecifiedUnits
float getValueInSpecifiedUnits()
setValueInSpecifiedUnits
void setValueInSpecifiedUnits(float valueInSpecifiedUnits)
throws DOMException
- Throws:
DOMException
getValueAsString
java.lang.String getValueAsString()
setValueAsString
void setValueAsString(java.lang.String valueAsString)
throws DOMException
- Throws:
DOMException
newValueSpecifiedUnits
void newValueSpecifiedUnits(short unitType,
float valueInSpecifiedUnits)
convertToSpecifiedUnits
void convertToSpecifiedUnits(short unitType)