Matrix3x2::CreateScale Method (Vector2, Vector2)

Creates a scaling matrix from the specified vector scale with an offset from the specified center point.

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

public:
static Matrix3x2 CreateScale(
	Vector2 scales, 
	Vector2 centerPoint
)

Parameters

scales
Type: System.Numerics::Vector2

The scale to use.

centerPoint
Type: System.Numerics::Vector2

The center offset.

Return Value

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