Sign in Join
FPDoc Onlineexperiment

TLazRegion.AddRectangle procedure

Member of TLazRegionpublicIn unit LazRegions

Adds the specified TRect instance to the Parts member.

Declaration

pascal
procedure AddRectangle(ARect: TRect)

Arguments

ARect

TRect instance with the rectangular region added in the method.

Description

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.

See also

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