SVGTransform

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

Constants

short SVG_TRANSFORM_UNKNOWN = 0
short SVG_TRANSFORM_MATRIX = 1
short SVG_TRANSFORM_TRANSLATE = 2
short SVG_TRANSFORM_SCALE = 3
short SVG_TRANSFORM_ROTATE = 4
short SVG_TRANSFORM_SKEWX = 5
short SVG_TRANSFORM_SKEWY = 6

Properties

readonly float angle

readonly nsIDOMSVGMatrix matrix

readonly short type


Methods

void setMatrix ( nsIDOMSVGMatrix matrix ) void setRotate ( float angle , float cx , float cy ) void setScale ( float sx , float sy ) void setSkewX ( float angle ) void setSkewY ( float angle ) void setTranslate ( float tx , float ty )

void setMatrix ( nsIDOMSVGMatrix matrix )

Arguments:
matrix

void setRotate ( float angle , float cx , float cy )

Arguments:
angle
cx
cy

void setScale ( float sx , float sy )

Arguments:
sx
sy

void setSkewX ( float angle )

Arguments:
angle

void setSkewY ( float angle )

Arguments:
angle

void setTranslate ( float tx , float ty )

Arguments:
tx
ty

Reference documentation is generated from Mozilla's source.

Add a note User Contributed Notes
No comments available

Copyright © 1999 - 2005 XULPlanet.com