Region.Contains Method

Definition

Overloads

Contains(Point)

Returns true if the specified point is inside the region. Otherwise, returns false.

Contains(Double, Double)

Returns true if the point that is represented by the specified coordinates is inside the region. Otherwise, returns false.

Contains(Point)

Source:
Region.cs
Source:
Region.cs

Returns true if the specified point is inside the region. Otherwise, returns false.

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

The point to check.

Returns

true if the specified point is inside the region. Otherwise, false.

Applies to

Contains(Double, Double)

Source:
Region.cs
Source:
Region.cs

Returns true if the point that is represented by the specified coordinates is inside the region. Otherwise, returns false.

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

The X-coordinate to check.

y
Double

The Y-coordinate to check.

Returns

true if the specified point that is represented by the specified coordinates is inside the region. Otherwise, false.

Applies to