System.Types.TRect.IntersectRect
C++
inline bool TRect::IntersectRect(const TRect &R1, const TRect &R2)
プロパティ
種類 | 可視性 | ソース | ユニット | 親 |
---|---|---|---|---|
function | public | SystemTypes.h | System.Types | TRect |
説明
2 つの四角形が交差しているかどうかを確認します。
IntersectRect は、R1
および R2
四角形の交差する部分が空の場合、True を返し、そうでなければ False を返します。