MatrixScale Method (IMatrix, Single) |
Prepend a scale to the matrix from the origin (0, 0)
Namespace:
Eto.Drawing
Assembly:
Eto (in Eto.dll) Version: 2.5.3-dev
Syntax public static void Scale(
this IMatrix matrix,
float scale
)
<ExtensionAttribute>
Public Shared Sub Scale (
matrix As IMatrix,
scale As Single
)
[<ExtensionAttribute>]
static member Scale :
matrix : IMatrix *
scale : float32 -> unit
Parameters
- matrix
- Type: Eto.DrawingIMatrix
Matrix to scale - scale
- Type: SystemSingle
The amount to multiply coordinates along both the x and y axis
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
IMatrix. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).
See Also