MatrixTranslate Method (IMatrix, PointF) |
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,
PointF offset
)
<ExtensionAttribute>
Public Shared Sub Translate (
matrix As IMatrix,
offset As PointF
)
[<ExtensionAttribute>]
static member Translate :
matrix : IMatrix *
offset : PointF -> unit
Parameters
- matrix
- Type: Eto.DrawingIMatrix
Matrix to translate - offset
- Type: Eto.DrawingPointF
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