Click or drag to resize

Matrix3x2CreateScale Method (Double, Double, Vector2)

Creates a scale matrix that is offset by a 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(
	double xScale,
	double yScale,
	Vector2 centerPoint
)

Parameters

xScale
Type: SystemDouble
Value to scale by on the X-axis.
yScale
Type: SystemDouble
Value to scale by on the Y-axis.
centerPoint
Type: Karamba.GeometryVector2
The center point.

Return Value

Type: Matrix3x2
A scaling matrix.
See Also