PointUnitVectorAtAngle 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
)
Public Shared Function UnitVectorAtAngle (
angle As Single
) As PointF
static member UnitVectorAtAngle :
angle : float32 -> PointF
Parameters
- angle
- Type: SystemSingle
Angle in degrees of the unit vector
Return Value
Type:
PointFA new instance of a PointF with the x,y co-ordinates set at a distance of 1.0 from the origin
See Also