TTMSFNCBloxElement.PointInElement Method
Returns whether the given point lies inside the element.
API unit family: TMSFNCBloxCoreElement
Declaring type: TTMSFNCBloxElement
Syntax
function PointInElement(Path: TTMSFNCBloxPath; Pos: TTMSFNCBloxPoint): boolean; virtual; abstract;
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.