次の方法で共有


Rectangle.Contains メソッド

定義

オーバーロード

Contains(Point)

pt がこの Rectangle の内側にあるか、または周辺に沿っているかどうか。

Contains(Rectangle)

rect がこの Rectangle の完全に内側にあるか、または周辺に沿っているかどうか。

Contains(Double, Double)

xy によって表される点が、この Rectangle の内側にあるか、または周辺に沿っているかどうか。

Contains(Point)

pt がこの Rectangle の内側にあるか、または周辺に沿っているかどうか。

public bool Contains(Xamarin.Forms.Point pt);
member this.Contains : Xamarin.Forms.Point -> bool

パラメーター

pt
Point

包含をチェックされる Point

戻り値

System.Boolean

ptRectangle の内側にあるか、または周辺に沿っている場合は true

適用対象

Contains(Rectangle)

rect がこの Rectangle の完全に内側にあるか、または周辺に沿っているかどうか。

public bool Contains(Xamarin.Forms.Rectangle rect);
member this.Contains : Xamarin.Forms.Rectangle -> bool

パラメーター

rect
Rectangle

包含をチェックされる Rectangle

戻り値

System.Boolean

true の罫線 rect が の完全に内にあるか、または周囲 thisRectangleに沿っている場合は 。

適用対象

Contains(Double, Double)

xy によって表される点が、この Rectangle の内側にあるか、または周辺に沿っているかどうか。

public bool Contains(double x, double y);
member this.Contains : double * double -> bool

パラメーター

x
System.Double

チェックされる点の X 位置。

y
System.Double

チェックされる点の Y 位置。

戻り値

System.Boolean

truey によって記述されたxポイントが 内にある場合、または のthisRectangle周辺に沿っている場合は 。

適用対象