Compartilhar via


Rect.Contains Method

Definition

Overloads

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

Contains(Point)

Source:
Rect.cs
Source:
Rect.cs
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

Parameters

pt
Point

Returns

Applies to

Contains(Rect)

Source:
Rect.cs
Source:
Rect.cs
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

Parameters

rect
Rect

Returns

Applies to

Contains(Double, Double)

Source:
Rect.cs
Source:
Rect.cs
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

Parameters

x
Double
y
Double

Returns

Applies to