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.

nsIDOMSVGAngle

IID:58b6190e-37b3-412a-ba02-1d5ad6c6ea7c
Inherits From:nsISupports

The nsIDOMSVGAngle interface is the interface to an SVG angle.

For more information on this interface please see http://www.w3.org/TR/SVG11/types.html#InterfaceSVGAngle


Constants

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

Properties

readonly PRUint16 unitType

float value

DOMString valueAsString

float valueInSpecifiedUnits


Methods

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

void convertToSpecifiedUnits ( PRUint16 unitType )

Arguments:
unitType

void newValueSpecifiedUnits ( PRUint16 unitType , float valueInSpecifiedUnits )

Arguments:
unitType
valueInSpecifiedUnits

References

This interface is the type of the following properties:

nsIDOMSVGAnimatedAngle.animVal, nsIDOMSVGAnimatedAngle.baseVal

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

nsIDOMSVGMarkerElement.setOrientToAngle

This interface is returned from the following methods:

nsIDOMSVGSVGElement.createSVGAngle

Reference documentation is generated from Mozilla's source.