Matrix3x2::CreateScale Method (Single, Single, Vector2)

Creates a scaling matrix that is offset by a given center point.

Namespace:  System.Numerics
Assembly:  System.Numerics.Vectors (in System.Numerics.Vectors.dll)

public:
static Matrix3x2 CreateScale(
	float xScale, 
	float yScale, 
	Vector2 centerPoint
)

Parameters

xScale
Type: System::Single

The value to scale by on the X axis.

yScale
Type: System::Single

The value to scale by on the Y axis.

centerPoint
Type: System.Numerics::Vector2

The center point.

Return Value

Type: System.Numerics::Matrix3x2
The scaling matrix.
Show: