| Matrix22FCreateScale Method (Single, Single) |
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 Matrix22F CreateScale(
float scaleX,
float scaleY
)
Public Shared Function CreateScale (
scaleX As Single,
scaleY As Single
) As Matrix22F
public:
static Matrix22F CreateScale(
float scaleX,
float scaleY
)
static member CreateScale :
scaleX : float32 *
scaleY : float32 -> Matrix22F
Parameters
- scaleX
- Type: SystemSingle
The value to scale by on the x-axis. - scaleY
- Type: SystemSingle
The value to scale by on the y-axis.
Return Value
Type:
Matrix22FThe created scaling matrix.
See Also