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 */;
プロパティ
種類 | 可視性 | ソース | ユニット | 親 |
---|---|---|---|---|
function | public | System.Types.pas System.Types.hpp |
System.Types | System.Types |
説明
2 つの TRect 値が同じかどうかを示します。
EqualRect を呼び出すと、2 つの TRect 値を比較することができます。EqualRect は、R1 と R2 が一致する場合(同じ位置およびサイズの場合)に True を、これらが異なる場合には False を返します。