Table of Contents

TTMSFNCBloxPolyLine.PointInElement Method

Determines whether a point lies on or close to the line.

API unit family: TMSFNCBloxCoreLine Declaring type: TTMSFNCBloxPolyLine Inherited from: 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.