Bagikan melalui


Rect.Contains Metode

Definisi

Overload

Contains(Point)
Contains(Rect)
Contains(Double, Double)

Contains(Point)

public:
 bool Contains(Microsoft::Maui::Graphics::Point pt);
public bool Contains (Microsoft.Maui.Graphics.Point pt);
member this.Contains : Microsoft.Maui.Graphics.Point -> bool
Public Function Contains (pt As Point) As Boolean

Parameter

pt
Point

Mengembalikan

Berlaku untuk

Contains(Rect)

public:
 bool Contains(Microsoft::Maui::Graphics::Rect rect);
public bool Contains (Microsoft.Maui.Graphics.Rect rect);
member this.Contains : Microsoft.Maui.Graphics.Rect -> bool
Public Function Contains (rect As Rect) As Boolean

Parameter

rect
Rect

Mengembalikan

Berlaku untuk

Contains(Double, Double)

public:
 bool Contains(double x, double y);
public bool Contains (double x, double y);
member this.Contains : double * double -> bool
Public Function Contains (x As Double, y As Double) As Boolean

Parameter

x
Double
y
Double

Mengembalikan

Berlaku untuk