Table of Contents

TTMSFNCBloxLineJoin.PointInElement Method

Tests whether the given position lies inside the block shape, using the supplied path as a scratch buffer for the surrounding outline.

API unit family: TMSFNCBloxCoreBlock Declaring type: TTMSFNCBloxLineJoin Inherited from: TTMSFNCBloxBlock

Syntax

function PointInElement(Path: TTMSFNCBloxPath; Pos: TTMSFNCBloxPoint): boolean; override;

Parameters

Name Description
Path A path used to build the block outline for hit testing. It is reset first.
Pos The position to test, in client coordinates.

Returns

True when the position is inside the block shape; otherwise False.