Sign in Join
FPDoc Onlineexperiment

TLazRegionRect class

In unit LazRegions

Implements a region defined by a TRect structure.

Declaration

pascal
TLazRegionRect = class(TLazRegionPart)

Inheritance

  1. TLazRegionRect
  2. TLazRegionPart

Description

TLazRegionRect is a TLazRegionPart descendant which implements a region as a rectangular area. It includes a Rect member used to store the TRect with the bounds for the region. It also provides an overridden IsPointInPart method to examine the Rect member when locating a point in the region. Instances of TLazRegionRect are created when the AddRectangle method in TLazRegion is called.

See also

Methods

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

Fields

RectpublicRectangle with the bounds that defines the region.

Inherited

From TLazRegionPart (1)

GetBoundingRect

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