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.

SVGMatrix

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

Properties

float a

float b

float c

float d

float e

float f


Methods

nsIDOMSVGMatrix flipX ( ) nsIDOMSVGMatrix flipY ( ) nsIDOMSVGMatrix inverse ( ) nsIDOMSVGMatrix multiply ( nsIDOMSVGMatrix secondMatrix ) nsIDOMSVGMatrix rotate ( float angle ) nsIDOMSVGMatrix rotateFromVector ( float x , float y ) nsIDOMSVGMatrix scale ( float scaleFactor ) nsIDOMSVGMatrix scaleNonUniform ( float scaleFactorX , float scaleFactorY ) nsIDOMSVGMatrix skewX ( float angle ) nsIDOMSVGMatrix skewY ( float angle ) nsIDOMSVGMatrix translate ( float x , float y )

nsIDOMSVGMatrix flipX ( )


nsIDOMSVGMatrix flipY ( )


nsIDOMSVGMatrix inverse ( )


nsIDOMSVGMatrix multiply ( nsIDOMSVGMatrix secondMatrix )

Arguments:
secondMatrix

nsIDOMSVGMatrix rotate ( float angle )

Arguments:
angle

nsIDOMSVGMatrix rotateFromVector ( float x , float y )

Arguments:
x
y

nsIDOMSVGMatrix scale ( float scaleFactor )

Arguments:
scaleFactor

nsIDOMSVGMatrix scaleNonUniform ( float scaleFactorX , float scaleFactorY )

Arguments:
scaleFactorX
scaleFactorY

nsIDOMSVGMatrix skewX ( float angle )

Arguments:
angle

nsIDOMSVGMatrix skewY ( float angle )

Arguments:
angle

nsIDOMSVGMatrix translate ( float x , float y )

Arguments:
x
y

Reference documentation is generated from Mozilla's source.