Rectangle.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) |
Whether the |
| Contains(Rectangle) |
Whether |
| Contains(Double, Double) |
Whether the point described by |
Contains(Rectangle)
Whether rect is entirely within, or along the periphery, of this Rectangle.
public bool Contains(Xamarin.Forms.Rectangle rect);
member this.Contains : Xamarin.Forms.Rectangle -> bool
Parameters
Returns
true if the borders of rect are entirely within, or along the periphery, of thisRectangle.
Applies to
Contains(Double, Double)
Whether the point described by x and y is within, or along the periphery of, this Rectangle.
public bool Contains(double x, double y);
member this.Contains : double * double -> bool
Parameters
- x
- System.Double
The X location of the point being checked.
- y
- System.Double
The Y location of the point being checked.
Returns
true if the point described by x and y is within, or along the periphery of, thisRectangle.