Declaration ​
pascal
function HitTest(X, Y: Integer): Boolean;Parameters ​
| Parameter | Type | Description |
|---|---|---|
X, Y | Integer | Viewport pixel coordinates. |
Returns ​
| Type | Description |
|---|---|
Boolean | True if the coordinates fall inside the active layer region, False otherwise. |
Description ​
HitTest executes internal hit-testing and invokes the OnHitTest event handler if assigned.