TcxRegion.RectInRegion(Integer,Integer,Integer,Integer) Method
Identifies if the specified rectangle is within the region.
Declaration
function RectInRegion(ALeft: Integer; ATop: Integer; ARight: Integer; ABottom: Integer): Boolean; overload;
Parameters
Name | Type |
---|---|
ALeft | Integer |
ATop | Integer |
ARight | Integer |
ABottom | Integer |
Returns
Type |
---|
Boolean |
Remarks
The overloaded RectInRegion functions return True if the specified rectangle is within the region or intersects it; otherwise, False.
The first variant accepts the rectangle as the R parameter while the second variant accepts the coordinates of the left-top and right-bottom corners of the ALeft, ATop, ARight, and ABottom parameters.
See Also