getTransformToElement method
Gets the transformation matrix that transforms from the user coordinate system on the current element to the user coordinate system on the specified target element.
![]() ![]() |
Syntax
object.getTransformToElement(pElement)Parameters
- pElement [in]
-
Type: ISVGElement
The target element.
Return value
Type: ISVGMatrix
An SVGMatrix object that defines the transformation.
Standards information
- Scalable Vector Graphics: Basic Data Types and Interfaces, Section 4.5.23
Remarks
On both the current and the target elements, the return value is determined after the element's transform attribute is applied (if an attribute is defined).
See also
- SVGAElement
- SVGCircleElement
- SVGClipPathElement
- SVGDefsElement
- SVGEllipseElement
- SVGGElement
- SVGImageElement
- SVGLineElement
- SVGPathElement
- SVGPolygonElement
- SVGPolylineElement
- SVGRectElement
- SVGSVGElement
- SVGSwitchElement
- SVGTextElement
- SVGUseElement
Show:

