TLazRegionWithChilds.IsPointInRegion function
Indicates if the specified point is within the bounds for the region.
Declaration
function IsPointInRegion(AX: Integer; AY: Integer)
: TLazRegionWithChilds; virtual; reintroduceArguments
AX | Horizontal coordinate for the point. |
AY | Vertical coordinate for the point. |
Function result
True when the point is within the bounds for one of the child areas in the region.Description
Returns itself or a child, depending on where the point was found, or nil if the point is neither in the region nor in any children.
Part of the behavior is implemented in TLazRegionWithChilds.
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
