EN
此内容没有您的语言版本,但有英语版本。

translate method

Returns a new matrix that is the result of the current matrix multiplied by a translation matrix that contains the input parameters.

CSS Transitions Module Level 3, Section 10.1

 

Syntax

var retMatrix = MSCSSMatrix.translate(offsetX, offsetY, offsetZ);

Parameters

offsetX [in]

Type: Floating-point

The translation offset along the x-axis.

offsetY [in]

Type: Floating-point

The translation offset along the y-axis.

offsetZ [in, optional]

Type: Floating-point

The translation offset along the z-axis.

Return value

Type: MSCSSMatrix

The returned matrix.

Standards information

See also

MSCSSMatrix

 

 

显示:
© 2015 Microsoft