PointFRotate Method (PointF, Single) |
Treats the point as a vector and rotates it around the origin (0,0) by the specified angle.
Namespace:
Eto.Drawing
Assembly:
Eto (in Eto.dll) Version: 2.5.3-dev
Syntax public static PointF Rotate(
PointF point,
float angle
)
Public Shared Function Rotate (
point As PointF,
angle As Single
) As PointF
static member Rotate :
point : PointF *
angle : float32 -> PointF
Parameters
- point
- Type: Eto.DrawingPointF
Point to rotate - angle
- Type: SystemSingle
Angle in degrees to rotate the point around the origin (0,0)
Return Value
Type:
PointFA new point with the rotated X and Y coordinates
See Also