|
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)
Syntaxpublic static Matrix3x2 CreateScale(
double scale,
Vector2 centerPoint
)
Public Shared Function CreateScale (
scale As Double,
centerPoint As Vector2
) As Matrix3x2
public:
static Matrix3x2 CreateScale(
double scale,
Vector2^ centerPoint
)
static member CreateScale :
scale : float *
centerPoint : Vector2 -> Matrix3x2
Parameters
- scale
- Type: SystemDouble
The uniform scale to use. - centerPoint
- Type: Karamba.GeometryVector2
The center offset.
Return Value
Type:
Matrix3x2A scaling matrix.
See Also