System.Types.TRect.IntersectRect

提供: RAD Studio API Documentation
移動先: 案内検索

C++

inline bool TRect::IntersectRect(const TRect &R1, const TRect &R2)

プロパティ

種類 可視性 ソース ユニット
function public SystemTypes.h System.Types TRect


説明

2 つの四角形が交差しているかどうかを確認します。

IntersectRect は、R1 および R2 四角形の交差する部分が空の場合、True を返し、そうでなければ False を返します。

関連項目