Sign in Join
FPDoc Onlineexperiment

TLazRegionWithChilds.IsPointInRegion function

Member of TLazRegionWithChildspublicIn unit LazRegions

Indicates if the specified point is within the bounds for the region.

Declaration

pascal
function IsPointInRegion(AX: Integer; AY: Integer)
: TLazRegionWithChilds; virtual; reintroduce

Arguments

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.