System.Types.EqualRect
Delphi
function EqualRect(const R1, R2: TRect): Boolean;
function EqualRect(const R1, R2: TRectF): Boolean;
C++
extern DELPHI_PACKAGE bool __fastcall EqualRect(const TRect &R1, const TRect &R2)/* overload */;
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | System.Types.pas System.Types.hpp |
System.Types | System.Types |
Description
Indicates whether two TRect values are the same.
Call EqualRect to compare two TRect values. EqualRect returns True if R1 and R2 are identical (same position and size), False if they are different.