Prepend a rotation around the specified point to the matrix
Namespace:
Eto.Drawing
Assembly:
Eto (in Eto.dll) Version: 2.5.3-dev
Syntax public static void RotateAt(
this IMatrix matrix,
float angle,
PointF center
)
<ExtensionAttribute>
Public Shared Sub RotateAt (
matrix As IMatrix,
angle As Single,
center As PointF
)
[<ExtensionAttribute>]
static member RotateAt :
matrix : IMatrix *
angle : float32 *
center : PointF -> unit
Parameters
- matrix
- Type: Eto.DrawingIMatrix
Matrix to rotate - angle
- Type: SystemSingle
Angle in degrees to rotate. A positive value indicates a clockwise rotation, whereas a negative value will rotate counter clockwise - center
- Type: Eto.DrawingPointF
Point to rotate around
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