Export (0) Print
Expand All
Expand Minimize

translate method

Post-multiplies the matrix by a translation transformation and returns the resulting matrix.

Scalable Vector Graphics: Coordinate Systems, Transformations and Units, Section 7.14.3Internet Explorer 9

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

SVGMatrix

 

 

Show:
© 2014 Microsoft