Xamarin.Forms.Rectangle: Method Members

The methods of Xamarin.Forms.Rectangle are listed below. For a list of all members, see the Rectangle Members list.

See Also: Inherited members from System.ValueType

Public Methods

Contains(Point) : bool
Whether the pt is within, or along the periphery, of this Xamarin.Forms.Rectangle.
Contains(Rectangle) : bool
Whether rect is entirely within, or along the periphery, of this Xamarin.Forms.Rectangle.
Contains(double, double) : bool
Whether the point described by x and y is within, or along the periphery of, this Xamarin.Forms.Rectangle.
override
Equals(object) : bool
Whether an object is a Xamarin.Forms.Rectangle and has exactly the same values as thisXamarin.Forms.Rectangle.
Equals(Rectangle) : bool
Whether a Xamarin.Forms.Rectangle has exactly the same values as thisXamarin.Forms.Rectangle.
static
FromLTRB(double, double, double, double) : Rectangle
Factory method to create a Xamarin.Forms.Rectangle from left, top, right, and bottom.
override
GetHashCode() : int
The hashcode for the Xamarin.Forms.Rectangle.
Inflate(Size) : Rectangle
Creates a Xamarin.Forms.Rectangle whose borders are inflated in every direction.
Inflate(double, double) : Rectangle
Creates a Xamarin.Forms.Rectangle whose borders are inflated in every direction.
Intersect(Rectangle) : Rectangle
A new Xamarin.Forms.Rectangle that is the intersection of this and r.
static
Intersect(Rectangle, Rectangle) : Rectangle
A new Xamarin.Forms.Rectangle that is the intersection of r1 and r2.
IntersectsWith(Rectangle) : bool
Whether thisXamarin.Forms.Rectangle intersects r.
Offset(Point) : Rectangle
A new Xamarin.Forms.Rectangle whose Rectangle.Location is offset by dr.
Offset(double, double) : Rectangle
A new Xamarin.Forms.Rectangle whose Rectangle.Location is offset by dx and dy.
Round() : Rectangle
Returns a new Xamarin.Forms.Rectangle whose values have been rounded to their nearest integral value.
override
ToString() : string
A human-readable description of the Xamarin.Forms.Rectangle.
Union(Rectangle) : Rectangle
A new Xamarin.Forms.Rectangle whose bounds cover the union of thisXamarin.Forms.Rectangle and r.
static
Union(Rectangle, Rectangle) : Rectangle
A new Xamarin.Forms.Rectangle whose bounds cover the union of r1 and r2.