System.Types.TRect.Intersect

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

Delphi

class function Intersect(const R1: TRect; const R2: TRect): TRect; overload; static;
procedure Intersect(const R: TRect); overload;

C++

inline TRect TRect::Intersect(const TRect &r1, const TRect &r2) {
inline void TRect::Intersect(const TRect &r) {

プロパティ

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

説明

2 つの四角形の間の交差部分を計算します。

Intersect は、2 つの四角形の間の交差部分を計算し、その 2 つの四角形が共有する部分を、TRect オブジェクトとして返します。

関連項目