MatrixFromScaleAt Method (Single, Single, Single, Single) |
Creates a new matrix with a scale at the specified point
Namespace:
Eto.Drawing
Assembly:
Eto (in Eto.dll) Version: 2.5.3-dev
Syntax public static IMatrix FromScaleAt(
float scaleX,
float scaleY,
float centerX,
float centerY
)
Public Shared Function FromScaleAt (
scaleX As Single,
scaleY As Single,
centerX As Single,
centerY As Single
) As IMatrix
static member FromScaleAt :
scaleX : float32 *
scaleY : float32 *
centerX : float32 *
centerY : 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 - centerX
- Type: SystemSingle
X co-ordinate of the point to scale from - centerY
- Type: SystemSingle
Y co-ordinate of the point to scale from
Return Value
Type:
IMatrixA new matrix with a scale transform
See Also