MatrixScale Method (IMatrix, SizeF) |
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,
SizeF scale
)
<ExtensionAttribute>
Public Shared Sub Scale (
matrix As IMatrix,
scale As SizeF
)
[<ExtensionAttribute>]
static member Scale :
matrix : IMatrix *
scale : SizeF -> unit
Parameters
- matrix
- Type: Eto.DrawingIMatrix
Matrix to scale - scale
- Type: Eto.DrawingSizeF
The amount to multiply coordinates
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