TLazRegion.IsPointInRegion function
Checks whether the specified point is inside the region.
Declaration
function IsPointInRegion(AX: Integer; AY: Integer): Boolean; overrideArguments
AX | Horizontal coordinate for the point. |
AY | Vertical coordinate for the point. |
Function result
True when the point is located inside the rectangle or one of the subregions that define the bounds for the region.Description
Checks if the specified point is inside the display area for the region. Uses
the value in IsSimpleRectRegion to determine whether
Rect contains the bounds for the region. When it contains
False, the values in the Parts member are used to determine
the return value.
Returns True when the specified point is located inside the rectangle or one of the subregions.
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
