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)

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

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

Parameters

pt
Point

The point to check.

Returns

System.Boolean

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

Applies to

Contains(Double, Double)

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);
member this.Contains : double * double -> bool

Parameters

x
System.Double

The X-coordinate to check.

y
System.Double

The Y-coordinate to check.

Returns

System.Boolean

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

Applies to