Click or drag to resize

PointFUnitVectorAtAngle Method

Creates a unit vector PointF (a point with a Length of 1.0 from origin 0,0) with the specified angle, in degrees

Namespace:  Eto.Drawing
Assembly:  Eto (in Eto.dll) Version: 2.5.3-dev
Syntax
public static PointF UnitVectorAtAngle(
	float angle
)

Parameters

angle
Type: SystemSingle
Angle in degrees of the unit vector

Return Value

Type: PointF
A new instance of a PointF with the x,y co-ordinates set at a distance of 1.0 from the origin
See Also