WARNING: Most of this content (with the exception of the Mozilla 1.9 XPCOM reference) is very old, and can be expected to be out of date and possibly obsolete. For better XUL documentation, please visit the XUL hub at the Mozilla Developer Center.

SVGAngle

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

Constants

short SVG_ANGLETYPE_UNKNOWN = 0
short SVG_ANGLETYPE_UNSPECIFIED = 1
short SVG_ANGLETYPE_DEG = 2
short SVG_ANGLETYPE_RAD = 3
short SVG_ANGLETYPE_GRAD = 4

Properties

readonly short unitType

float value

String valueAsString

float valueInSpecifiedUnits


Methods

void convertToSpecifiedUnits ( short unitType ) void newValueSpecifiedUnits ( short unitType , float valueInSpecifiedUnits )

void convertToSpecifiedUnits ( short unitType )

Arguments:
unitType

void newValueSpecifiedUnits ( short unitType , float valueInSpecifiedUnits )

Arguments:
unitType
valueInSpecifiedUnits

Reference documentation is generated from Mozilla's source.