|
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
)
Public Shared Function CreateScale (
xScale As Double,
yScale As Double,
centerPoint As Vector2
) As Matrix3x2
public:
static Matrix3x2 CreateScale(
double xScale,
double yScale,
Vector2 centerPoint
)
static member CreateScale :
xScale : float *
yScale : float *
centerPoint : Vector2 -> Matrix3x2
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:
Matrix3x2A scaling matrix.
See Also