MatrixFromScale Method (Single, Single) |
Creates a new matrix with the specified scale factor
Namespace:
Eto.Drawing
Assembly:
Eto (in Eto.dll) Version: 2.5.3-dev
Syntax public static IMatrix FromScale(
float scaleX,
float scaleY
)
Public Shared Function FromScale (
scaleX As Single,
scaleY As Single
) As IMatrix
static member FromScale :
scaleX : float32 *
scaleY : float32 -> IMatrix
Parameters
- scaleX
- Type: SystemSingle
The amount to multiply coordinates along the x axis - scaleY
- Type: SystemSingle
The amount to multiply coordinates along the y axis
Return Value
Type:
IMatrixA new matrix with a scale transform
See Also