org.w3c.dom.svg
Interface SVGLength


public interface SVGLength


Field Summary
static short SVG_LENGTHTYPE_CM
           
static short SVG_LENGTHTYPE_EMS
           
static short SVG_LENGTHTYPE_EXS
           
static short SVG_LENGTHTYPE_IN
           
static short SVG_LENGTHTYPE_MM
           
static short SVG_LENGTHTYPE_NUMBER
           
static short SVG_LENGTHTYPE_PC
           
static short SVG_LENGTHTYPE_PERCENTAGE
           
static short SVG_LENGTHTYPE_PT
           
static short SVG_LENGTHTYPE_PX
           
static short SVG_LENGTHTYPE_UNKNOWN
           
 
Method Summary
 void convertToSpecifiedUnits(short unitType)
           
 short getUnitType()
           
 float getValue()
           
 java.lang.String getValueAsString()
           
 float getValueInSpecifiedUnits()
           
 void newValueSpecifiedUnits(short unitType, float valueInSpecifiedUnits)
           
 void setValue(float value)
           
 void setValueAsString(java.lang.String valueAsString)
           
 void setValueInSpecifiedUnits(float valueInSpecifiedUnits)
           
 

Field Detail

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
Method Detail

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)