MatrixFromRotationAt Method (Single, PointF) |
Creates a new rotation matrix around a center point with the specified angle
Namespace:
Eto.Drawing
Assembly:
Eto (in Eto.dll) Version: 2.5.3-dev
Syntax public static IMatrix FromRotationAt(
float angle,
PointF center
)
Public Shared Function FromRotationAt (
angle As Single,
center As PointF
) As IMatrix
static member FromRotationAt :
angle : float32 *
center : PointF -> IMatrix
Parameters
- 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
the point to rotate around
Return Value
Type:
IMatrixA new rotation matrix
See Also