GoDiagram Web Reference
GetAngle Method (GoStroke)

Return the angle of the line going from the origin to a point.
Syntax
'Declaration
 
Public Shared Function GetAngle( _
   ByVal x As Single, _
   ByVal y As Single _
) As Single
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.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

GoStroke Class
GoStroke Members

 

 


© 2013. Northwoods Software Corporation. All Rights Reserved.

Send Feedback