System::Drawing::RectangleF::Intersect メソッド

RectangleF::Intersect(const RectangleF&) method

現在のオブジェクトで表される矩形を、指定されたオブジェクトで表される矩形との交差結果となる矩形に置き換えます。

void System::Drawing::RectangleF::Intersect(const RectangleF &rect)
パラメーター説明
rectconst RectangleF&現在のオブジェクトが表す矩形と交差させる矩形を表す RectangleF オブジェクト

参照

RectangleF::Intersect(const RectangleF&, const RectangleF&) method

指定された矩形の交差結果となる矩形を返します。

static RectangleF System::Drawing::RectangleF::Intersect(const RectangleF &a, const RectangleF &b)
パラメーター説明
aconst RectangleF&交差させる最初の矩形
bconst RectangleF&交差させる2番目の矩形

ReturnValue

ab の交差結果

参照