SVGTransform object

Represents a single component within a SVGTransformList attribute specification.

Scalable Vector Graphics: Coordinate Systems, Transformations and Units, Section 7.14.4Internet Explorer 9

Members

The SVGTransform object has these types of members:

Methods

The SVGTransform object has these methods.

MethodDescription
setMatrix

Sets the transform type to SVG_TRANSFORM_MATRIX by using the specified new transformation.

setRotate

Sets the transform type to SVG_TRANSFORM_ROTATE by using the specified rotation angle and center of rotation.

setScale

Sets the transform type to SVG_TRANSFORM_SCALE by using the specified scale amounts.

setSkewX

Sets the transform type to SVG_TRANSFORM_SKEWX, with the given angle defining the amount of skew.

setSkewY

Sets the transform type to SVG_TRANSFORM_SKEWY, with the given angle defining the amount of skew.

setTranslate

Sets the transform type to SVG_TRANSFORM_TRANSLATE by using the specified components.

 

Properties

The SVGTransform object has these properties.

PropertyDescription

angle

Gets or sets a value that indicates an angle unit.

matrix

Gets the matrix that represents this transformation.

type

Gets or sets the transform attribute type.

 

Standards information

Remarks

Note  In addition to the attributes, properties, events, methods, and styles listed above, SVG elements also inherit core HTML attributes, properties, events, methods, and styles.

 

 

Show:
© 2014 Microsoft