TTMSFNCGraphics.PointInCircle Method
Tests whether a point lies within a circle.
API unit family: TMSFNCGraphics
Declaring type: TTMSFNCGraphics
Syntax
class function PointInCircle(APoint: TPointF; ACenter: TPointF; const ARadius: Single): Boolean; virtual;
__classmethod virtual bool __fastcall PointInCircle(const System::Types::TPointF &APoint, const System::Types::TPointF &ACenter, const float ARadius);
Parameters
| Name | Description |
|---|---|
APoint |
Point to test. |
ACenter |
Center of the circle. |
ARadius |
Radius of the circle in pixels. |
Returns
True if APoint falls within or on the boundary of the circle.