| Matrix22DCreateScale Method (Vector2D) |
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(
Vector2D scale
)
Public Shared Function CreateScale (
scale As Vector2D
) As Matrix22D
public:
static Matrix22D CreateScale(
Vector2D scale
)
static member CreateScale :
scale : Vector2D -> Matrix22D
Parameters
- scale
- Type: DigitalRune.Mathematics.AlgebraVector2D
Amounts to scale by the x, and y-axis.
Return Value
Type:
Matrix22DThe created scaling matrix.
See Also