Rect.Union メソッド

定義

オーバーロード

Union(Point)

指定した点をちょうど格納できる大きさを持つ、現在の Rect で表される四角形を拡大します。

Union(Rect)

指定した四角形をちょうど格納できる大きさを持つ、現在の Rect で表される四角形を拡大します。

注釈

この構造体は、Windows ランタイム (WinRT) 構造体の .NET 射影を表し Rect ます。 詳細については、UWP API リファレンスの「 Rect 」を参照してください。

このメンバーの詳細と例については、.NET Framework API リファレンスの「」を参照してください Rect.Union 。 (例として WPF の使用状況が示されており、UWP XAML に直接変換することはできません)。

Union(Point)

指定した点をちょうど格納できる大きさを持つ、現在の Rect で表される四角形を拡大します。

public:
 void Union(Windows::Foundation::Point point);
public void Union (Windows.Foundation.Point point);
member this.Union : Windows.Foundation.Point -> unit
Public Sub Union (point As Point)

パラメーター

point
Point

格納対象の点。

適用対象

Union(Rect)

指定した四角形をちょうど格納できる大きさを持つ、現在の Rect で表される四角形を拡大します。

public:
 void Union(Windows::Foundation::Rect rect);
public void Union (Windows.Foundation.Rect rect);
member this.Union : Windows.Foundation.Rect -> unit
Public Sub Union (rect As Rect)

パラメーター

rect
Rect

格納する四角形。

適用対象