SVGTransform

< svg‎ | objects
Jump to: navigation, search



Inherits from SVGElement

Properties

No properties.

Methods

No methods.

Events

No events.

Inherited from SVGElement

Properties

No properties.

Methods

No methods.

Events

No events.

Notes

Remarks

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

Standards information

Members

The SVGTransform object has these methods:

  • 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.

The SVGTransform object has these properties:

  • 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.

Attribution

This article contains content originally from external sources.

Portions of this content come from the Microsoft Developer Network: [Windows Internet Explorer API reference Article]