Sign in Join
FPDoc Onlineexperiment

TLazRegionRect.IsPointInPart function

Member of TLazRegionRectpublicIn unit LazRegions

Indicates if a point with the specified coordinates is within the rectangle used as the bounds for the region.

Declaration

pascal
function IsPointInPart(AX: Integer; AY: Integer): Boolean; override

Arguments

AX

Horizontal coordinate for the point.

AY

Vertical coordinate for the point.

Function result

True when the coordinates are located in the bounds rectangle for the region.

Description

Overrides the method in the ancestor class to use the Rect member as the bounds for the region.

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.