MatrixTranslate Method (IMatrix, SizeF) |
Prepend a translation to the matrix
Namespace:
Eto.Drawing
Assembly:
Eto (in Eto.dll) Version: 2.5.3-dev
Syntax public static void Translate(
this IMatrix matrix,
SizeF offset
)
<ExtensionAttribute>
Public Shared Sub Translate (
matrix As IMatrix,
offset As SizeF
)
[<ExtensionAttribute>]
static member Translate :
matrix : IMatrix *
offset : SizeF -> unit
Parameters
- matrix
- Type: Eto.DrawingIMatrix
Matrix to translate - offset
- Type: Eto.DrawingSizeF
The amount to offset
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