This page is Not Ready

Notice: The WebPlatform project, supported by various stewards between 2012 and 2015, has been discontinued. This site is now available on github.

SVGTransform

Inherits from SVGElementSVGElement

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.

Attributions