Click or drag to resize

Matrix3x2CreateScale Method (Double, Vector2)

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

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

Parameters

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

Return Value

Type: Matrix3x2
A scaling matrix.
See Also