Rect.Contains
Rect.Contains
Method
Definition
Overloads
Contains(Rect) Contains(Rect) |
Returns true iff the specified rectangle r is inside or equal to this rectangle. |
Contains(Int32, Int32) Contains(Int32, Int32) |
Returns true if (x,y) is inside the rectangle. |
Contains(Int32, Int32, Int32, Int32) Contains(Int32, Int32, Int32, Int32) |
Returns true iff the 4 specified sides of a rectangle are inside or equal to this rectangle. i.e. is this rectangle a superset of the specified rectangle. |
Contains(Rect) Contains(Rect)
Returns true iff the specified rectangle r is inside or equal to this rectangle.
[Android.Runtime.Register("contains", "(Landroid/graphics/Rect;)Z", "")]
public bool Contains (Android.Graphics.Rect r);
member this.Contains : Android.Graphics.Rect -> bool
Parameters
Returns
Remarks
Portions of this page are modifications based on work created and shared by the
Contains(Int32, Int32) Contains(Int32, Int32)
Returns true if (x,y) is inside the rectangle.
[Android.Runtime.Register("contains", "(II)Z", "")]
public bool Contains (int x, int y);
member this.Contains : int * int -> bool
Parameters
Returns
Remarks
Portions of this page are modifications based on work created and shared by the
Contains(Int32, Int32, Int32, Int32) Contains(Int32, Int32, Int32, Int32)
Returns true iff the 4 specified sides of a rectangle are inside or equal to this rectangle. i.e. is this rectangle a superset of the specified rectangle.
[Android.Runtime.Register("contains", "(IIII)Z", "")]
public bool Contains (int left, int top, int right, int bottom);
member this.Contains : int * int * int * int -> bool
Parameters
Returns
Remarks
Portions of this page are modifications based on work created and shared by the