跳到主要内容

IDP.Math.KGeomLib.createScaleMatrix3() method

创建缩放矩阵。

Create a matrix as scale transform.

Signature:

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

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

Parameters

Parameter

Type

Description

x

number

x方向缩放分量。

The amount to scale in the X axis.

y

number

y方向缩放分量。

The amount to scale in the Y axis.

Returns:

KMatrix3

缩放矩阵。

The scale transform matrix.