Click or drag to resize

Matrix3x2CreateScale Method (Vector2, Vector2)

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

Namespace:  Karamba.Geometry
Assembly:  KarambaCommon (in KarambaCommon.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public static Matrix3x2 CreateScale(
	Vector2 scales,
	Vector2 centerPoint
)

Parameters

scales
Type: Karamba.GeometryVector2
The scale to use.
centerPoint
Type: Karamba.GeometryVector2
The center offset.

Return Value

Type: Matrix3x2
A scaling matrix.
See Also