TTMSFNCBloxLine.PointInElement Method
Determines whether a point lies on or close to the line.
API unit family: TMSFNCBloxCoreLine
Declaring type: TTMSFNCBloxLine
Syntax
function PointInElement(Path: TTMSFNCBloxPath; Pos: TTMSFNCBloxPoint): boolean; override;
Parameters
| Name | Description |
|---|---|
Path |
Optional path used for hit testing; not required for line elements. |
Pos |
The point to test, in element coordinates. |
Returns
True when the point is on or near one of the line segments.