nsIDOMSVGLength

IID:10231b04-7482-4960-bada-3dced0d586fc
Inherits From:nsISupports

Constants

PRUint16 SVG_LENGTHTYPE_UNKNOWN = 0
PRUint16 SVG_LENGTHTYPE_NUMBER = 1
PRUint16 SVG_LENGTHTYPE_PERCENTAGE = 2
PRUint16 SVG_LENGTHTYPE_EMS = 3
PRUint16 SVG_LENGTHTYPE_EXS = 4
PRUint16 SVG_LENGTHTYPE_PX = 5
PRUint16 SVG_LENGTHTYPE_CM = 6
PRUint16 SVG_LENGTHTYPE_MM = 7
PRUint16 SVG_LENGTHTYPE_IN = 8
PRUint16 SVG_LENGTHTYPE_PT = 9
PRUint16 SVG_LENGTHTYPE_PC = 10

Properties

readonly PRUint16 unitType

float value

DOMString valueAsString

float valueInSpecifiedUnits


Methods

void convertToSpecifiedUnits ( PRUint16 unitType ) float getTransformedValue ( nsIDOMSVGMatrix matrix ) void newValueSpecifiedUnits ( PRUint16 unitType , float valueInSpecifiedUnits )

void convertToSpecifiedUnits ( PRUint16 unitType )

Arguments:
unitType

float getTransformedValue ( nsIDOMSVGMatrix matrix )

Arguments:
matrix

void newValueSpecifiedUnits ( PRUint16 unitType , float valueInSpecifiedUnits )

Arguments:
unitType
valueInSpecifiedUnits

References

This interface is the type of the following properties:

nsIDOMSVGAnimatedLength.animVal, nsIDOMSVGAnimatedLength.baseVal

This interface is passed as an argument to the following methods:

nsIDOMSVGLengthList.appendItem, nsIDOMSVGLengthList.initialize, nsIDOMSVGLengthList.insertItemBefore, nsIDOMSVGLengthList.replaceItem

This interface is returned from the following methods:

nsIDOMSVGLengthList.appendItem, nsIDOMSVGLengthList.getItem, nsIDOMSVGLengthList.initialize, nsIDOMSVGLengthList.insertItemBefore, nsIDOMSVGLengthList.removeItem, nsIDOMSVGLengthList.replaceItem, nsIDOMSVGSVGElement.createSVGLength

Reference documentation is generated from Mozilla's source.

Add a note User Contributed Notes
No comments available

Copyright © 1999 - 2005 XULPlanet.com