Skip to main content
Table of Contents

TTMSFNCBloxElement.PointInElement Method

Returns whether the given point lies inside the element.

API unit family: TMSFNCBloxCoreElement Declaring type: TTMSFNCBloxElement

Syntax

FMX.TMSFNCBloxCoreElement.hppPascalC++
function PointInElement(Path: TTMSFNCBloxPath; Pos: TTMSFNCBloxPoint): boolean; virtual; abstract;
virtual bool __fastcall PointInElement(TTMSFNCBloxPath* Path, const TTMSFNCBloxPoint &Pos) = 0;

Parameters

Name Description
Path Path describing the element outline used for the hit test.
Pos Point to test, in element coordinates.

Returns

True when the point is inside the element; otherwise False.