TransformationMatrixCreateScale(Vector2) Method

Creates a scale matrix from the specified scale.

Definition

Namespace: KGySoft.Drawing.Shapes
Assembly: KGySoft.Drawing.Core (in KGySoft.Drawing.Core.dll) Version: 10.0.0-rc.1
C#
public static TransformationMatrix CreateScale(
	Vector2 scale
)

Parameters

scale  Vector2
The scale to use.

Return Value

TransformationMatrix
The scaling matrix.

See Also