| Matrix22DCreateScale Method (Double) |
Creates a uniform 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 scale
)
Public Shared Function CreateScale (
scale As Double
) As Matrix22D
public:
static Matrix22D CreateScale(
double scale
)
static member CreateScale :
scale : float -> Matrix22D
Parameters
- scale
- Type: SystemDouble
The uniform scale factor that is applied to the x- and y-axis.
Return Value
Type:
Matrix22DThe created scaling matrix.
See Also