translate method
Post-multiplies the matrix by a translation transformation and returns the resulting matrix.
![]() ![]() |
Syntax
var retval = SVGMatrix.translate(x, y);Parameters
- x [in]
-
Type: Floating-point
The distance to translate along the x-axis.
- y [in]
-
Type: Floating-point
The distance to translate along the y-axis.
Return value
Type: ISVGMatrix
The resulting matrix.
Standards information
Remarks
Post-multiplies means that other matrix operations are performed before this operation.
See also
Show:

