Calculates the angle of the circle arc with center in DlxPoint and identified by the specified point.

syntaxSyntax:
DlxPoint.ArcAngle(x, y)
DlxPoint.ArcAngle(point)

Parameters

Parameter Description
point A DlxPoint object with the coordinates of the point on the circumference.
x Specifies the x-coordinate of the point.
y Specifies the y-coordinate of the point.

Return Value

The value of the angle in degrees.

Example

  Copy codeCopy code
var center = new DlxPoint(0, 0);
var p = new DlxPoint(20, 20);
DlxApp.Printf("Angle=%.1f", center.ArcAngle(p));

See also