TransformationMatrixCreateScale(Single, Single) Method

Creates a scale matrix from the specified x and y components.

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(
	float x,
	float y
)

Parameters

x  Single
The value to scale by on the X axis.
y  Single
The value to scale by on the Y axis.

Return Value

TransformationMatrix
The scaling matrix.

See Also