TLazRegion.AddPartsFromRegion procedure
Adds the region (and any subregions) from ASrcRegion to the current class instance.
Declaration
procedure AddPartsFromRegion(ASrcRegion: TLazRegion)Arguments
ASrcRegion | Region with the values added in the method. |
Description
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.
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
