GoDigram for .NET Framework and .NET Core
Northwoods.Go Namespace / GoStroke Class / GetAngle Method
In This Topic
    GetAngle Method (GoStroke)
    In This Topic
    Return the angle of the line going from the origin to a point.
    Syntax
    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