Click or drag to resize

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
)

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: PointF
A new point with the rotated X and Y coordinates
See Also