[Overview][Types][Classes][Procedures and functions][Index] |
Adds the region (and any subregions) from ASrcRegion to the current class instance.
Source position: lazregions.pas line 84
public procedure TLazRegion.AddPartsFromRegion( |
ASrcRegion: TLazRegion |
); |
ASrcRegion |
|
Region with the values added in the method. |
AddPartsFromRegion is a procedure used to add the region in ASrcRegion to the current class instance. ASrcRegion can be represented as a simple rectangular region, or a complex region using rectangles, polygons, and/or ellipses.
AddPartsFromRegion ensures that the Rect or Parts members from ASrcRegion are combined in the correct manner with the values in Rect or Parts for the current class instance. The value in IsSimpleRectRegion is set to False if it was necessary to add entries to the Parts member in the method.
|
TRect instance with the bounds for the region. |
|
|
Indicates whether this region is composed of a single rectangular part. |
|
|
List with the Rectangles, Polygons, and Ellipses that define the display area for the region. |
|
|
Adds the specified part as a subregion in the Parts member. |
Version 4.0 | Generated 2025-05-03 | Home |