Region.Contains Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
Contains(Point) |
Returns |
Contains(Double, Double) |
Returns |
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
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
true
if the specified point that is represented by the specified coordinates is inside the region. Otherwise, false
.