Skip to main content
getCTM method

Gets the transformation matrix that transforms from the current user units to the viewport coordinate system for the nearestViewportElement object.

Scalable Vector Graphics: Basic Data Types and Interfaces, Section 4.5.23 Internet Explorer 9

 

Syntax

object.getCTM()

Parameters

This method has no parameters.

Return value

Type: ISVGMatrix

An SVGMatrix object that defines the current transformation matrix.

Standards information

See also

SVGAElement
SVGCircleElement
SVGClipPathElement
SVGDefsElement
SVGEllipseElement
SVGGElement
SVGImageElement
SVGLineElement
SVGPathElement
SVGPolygonElement
SVGPolylineElement
SVGRectElement
SVGSVGElement
SVGSwitchElement
SVGTextElement
SVGUseElement