SVGLength

This object is available to unprivileged JavaScript. It implements the following interfaces:

Constants

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

Properties

readonly short unitType

float value

String valueAsString

float valueInSpecifiedUnits


Methods

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

void convertToSpecifiedUnits ( short unitType )

Arguments:
unitType

float getTransformedValue ( nsIDOMSVGMatrix matrix )

Arguments:
matrix

void newValueSpecifiedUnits ( short unitType , float valueInSpecifiedUnits )

Arguments:
unitType
valueInSpecifiedUnits

Reference documentation is generated from Mozilla's source.

Add a note User Contributed Notes
No comments available

Copyright © 1999 - 2005 XULPlanet.com