| [Overview][Types][Classes][Procedures and functions][Index] | 
Adds the specified TRect instance to the Parts member.
Source position: lazregions.pas line 80
| public procedure TLazRegion.AddRectangle( | 
| ARect: TRect | 
| ); | 
| ARect | 
 | TRect instance with the rectangular region added in the method. | 
AddRectangle is a procedure used to add a rectangular region defined by the TRect instance in ARect to the Parts member. AddRectangle creates a TLazRegionRect instance and assigns ARect to its Rect member. AddRectangle calls AddPart to store the TLazRegionRect instance in Parts.
| 
 | Implements a region defined by a TRect structure. | |
| 
 | Adds the specified part as a subregion in the Parts member. | |
| 
 | List with the Rectangles, Polygons, and Ellipses that define the display area for the region. | 
| Version 4.0 | Generated 2025-05-03 | Home |