System.Types.TRectF.Intersect

提供: RAD Studio API Documentation
2012年2月20日 (月) 02:06時点におけるYukikoi (トーク | 投稿記録)による版 (1 版: LOC-8022)
(差分) ← 古い版 | 最新版 (差分) | 新しい版 → (差分)
移動先: 案内検索

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 オブジェクトとして返します。

関連項目