TLazRegionRect class
Implements a region defined by a TRect structure.
Declaration
TLazRegionRect = class(TLazRegionPart)Inheritance
- TLazRegionRect
- 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
Clone | public | |
IsPointInPart | public | Indicates if a point with the specified coordinates is within the rectangle used as the bounds for the region. |
Fields
Rect | public | Rectangle with the bounds that defines the region. |
Inherited
From TLazRegionPart (1)
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
