System.Types.TRect.IntersectsWith
Delphi
function IntersectsWith(const R: TRect): Boolean;
C++
bool IntersectsWith(const TRect &r) const _ALWAYS_INLINE {
プロパティ
種類 | 可視性 | ソース | ユニット | 親 |
---|---|---|---|---|
function | public | System.Types.pas SystemTypes.h |
System.Types | TRect |
説明
2 つの四角形が交差しているかどうかを確認します。
IntersectsWith は、2 つの四角形が交差している場合、Boolean 値 True を返します。 そうでなければ、False を返します。