跳到主要内容

IDP.Math.KGeomLib.createTranslationMatrix3() method

创建平移变换矩阵。

Create an translation transform matrix.

Signature:

createTranslationMatrix3(x: number, y: number): KMatrix3;

Links: createTranslationMatrix3(x: number, y: number): KMatrix3;

Parameters

Parameter

Type

Description

x

number

x方向平移分量。

The amount to translate in the X axis.

y

number

y方向平移分量。

The amount to translate in the Y axis.

Returns:

KMatrix3

平移变换矩阵。

The translation transform matrix.