| Matrix22DCreateScale Method (Double, Double) |
Creates a scaling matrix.
Namespace: DigitalRune.Mathematics.AlgebraAssembly: DigitalRune.Mathematics (in DigitalRune.Mathematics.dll) Version: 1.14.0.0 (1.14.0.14427)
Syntax public static Matrix22D CreateScale(
double scaleX,
double scaleY
)
Public Shared Function CreateScale (
scaleX As Double,
scaleY As Double
) As Matrix22D
public:
static Matrix22D CreateScale(
double scaleX,
double scaleY
)
static member CreateScale :
scaleX : float *
scaleY : float -> Matrix22D
Parameters
- scaleX
- Type: SystemDouble
The value to scale by on the x-axis. - scaleY
- Type: SystemDouble
The value to scale by on the y-axis.
Return Value
Type:
Matrix22DThe created scaling matrix.
See Also