GoDigram for .NET Framework and .NET Core
Northwoods.Go Namespace
/
GoStroke Class
/ GetAngle Method
Collapse All
Expand All
Language Filter: All
Language Filter: Multiple
Language Filter: Visual Basic
Language Filter: C#
C#
In This Topic
GetAngle Method (GoStroke)
In This Topic
Return the angle of the line going from the origin to a point.
Syntax
C#
public
static
float
GetAngle(
float
x
,
float
y
)
Parameters
x
y
Return Value
an angle in degrees, with
0
along the positive X axis, and with
90.0
along the positive Y axis.
See Also
Reference
GoStroke Class
GoStroke Members