Windows apps
Collapse the table of content
Expand the table of content

Matrix3x2::CreateScale Method (Single, Vector2)

Creates a scaling matrix that scales uniformly with the specified scale with an offset from the specified center.

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

public:
static Matrix3x2 CreateScale(
	float scale, 
	Vector2 centerPoint
)

Parameters

scale
Type: System::Single

The uniform scale to use.

centerPoint
Type: System.Numerics::Vector2

The center offset.

Return Value

Type: System.Numerics::Matrix3x2
The scaling matrix.
Show:
© 2017 Microsoft