The members of Xamarin.Forms.Rectangle are listed below.
See Also: Inherited members from System.ValueType
| Creates a new Xamarin.Forms.Rectangle object with its top left corner at loc with a height and width that are specified by sz. | ||
| Creates a new Xamarin.Forms.Rectangle object with its top left corner at (x, y) and width wide and height tall. |
static | Zero | Rectangle. The Xamarin.Forms.Rectangle at {0,0} whose Size is {0,0}. |
| Bottom | double. The bottom of the Xamarin.Forms.Rectangle. | |
| [read-only] | Center | Point. The Xamarin.Forms.Point halfway between Rectangle.Left and Rectangle.Right, Rectangle.Top and Rectangle.Bottom. |
| Height | double. Extent along the Y axis. | |
| [read-only] | IsEmpty | bool. Whether thisXamarin.Forms.Rectangle has either Rectangle.Height or Rectangle.Width less than or equal to 0. |
| Left | double. The position of the Xamarin.Forms.Rectangle on the X axis. | |
| Location | Point. The Xamarin.Forms.Point defined by Rectangle.Left and Rectangle.Top. | |
| Right | double. The furthest extent along the X axis. | |
| Size | Size. The extent of the Xamarin.Forms.Rectangle along its X and Y axes. | |
| Top | double. The top of the Xamarin.Forms.Rectangle. | |
| Width | double. The extent of this Xamarin.Forms.Rectangle along the X axis. | |
| X | double. The position of this Xamarin.Forms.Rectangle on the X axis. | |
| Y | double. The position of this Xamarin.Forms.Rectangle on the Y axis. |
Contains(Point)Whether the pt is within, or along the periphery, of this Xamarin.Forms.Rectangle. | ||
Contains(Rectangle)Whether rect is entirely within, or along the periphery, of this Xamarin.Forms.Rectangle. | ||
Contains(double, double)Whether the point described by x and y is within, or along the periphery of, this Xamarin.Forms.Rectangle. | ||
override | Equals(object)Whether an object is a Xamarin.Forms.Rectangle and has exactly the same values as thisXamarin.Forms.Rectangle. | |
Equals(Rectangle)Whether a Xamarin.Forms.Rectangle has exactly the same values as thisXamarin.Forms.Rectangle. | ||
static | FromLTRB(double, double, double, double)Factory method to create a Xamarin.Forms.Rectangle from left, top, right, and bottom. | |
override | GetHashCode()The hashcode for the Xamarin.Forms.Rectangle. | |
Inflate(Size)Creates a Xamarin.Forms.Rectangle whose borders are inflated in every direction. | ||
Inflate(double, double)Creates a Xamarin.Forms.Rectangle whose borders are inflated in every direction. | ||
Intersect(Rectangle)A new Xamarin.Forms.Rectangle that is the intersection of this and r. | ||
static | Intersect(Rectangle, Rectangle)A new Xamarin.Forms.Rectangle that is the intersection of r1 and r2. | |
IntersectsWith(Rectangle)Whether thisXamarin.Forms.Rectangle intersects r. | ||
Offset(Point)A new Xamarin.Forms.Rectangle whose Rectangle.Location is offset by dr. | ||
Offset(double, double)A new Xamarin.Forms.Rectangle whose Rectangle.Location is offset by dx and dy. | ||
Round()Returns a new Xamarin.Forms.Rectangle whose values have been rounded to their nearest integral value. | ||
override | ToString()A human-readable description of the Xamarin.Forms.Rectangle. | |
Union(Rectangle)A new Xamarin.Forms.Rectangle whose bounds cover the union of thisXamarin.Forms.Rectangle and r. | ||
static | Union(Rectangle, Rectangle)A new Xamarin.Forms.Rectangle whose bounds cover the union of r1 and r2. | |
static | Equality(Rectangle, Rectangle) | Whether two Xamarin.Forms.Rectangles have equal values. |
static | Inequality(Rectangle, Rectangle) | Whether two Xamarin.Forms.Rectangles have unequal values. |