System.Types.TRectF.Intersect

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

Delphi

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

C++

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

プロパティ

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

説明

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

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

関連項目