Share via


Rect Struct

Definition

[System.Diagnostics.DebuggerDisplay("X={X}, Y={Y}, Width={Width}, Height={Height}")]
[Xamarin.Forms.TypeConverter(typeof(Xamarin.Forms.RectTypeConverter))]
public struct Rect
type Rect = struct
Inheritance
System.ValueType
Rect
Attributes
System.Diagnostics.DebuggerDisplayAttribute TypeConverterAttribute

Constructors

Rect(Double, Double, Double, Double)
Rect(Point, Size)

Fields

Zero

Properties

Bottom
Center
Height
IsEmpty
Left
Location
Right
Size
Top
Width
X
Y

Methods

Contains(Double, Double)
Contains(Point)
Contains(Rect)
Deconstruct(Double, Double, Double, Double)
Equals(Object)
Equals(Rect)
FromLTRB(Double, Double, Double, Double)
GetHashCode()
Inflate(Double, Double)
Inflate(Size)
Intersect(Rect)
Intersect(Rect, Rect)
IntersectsWith(Rect)
Offset(Double, Double)
Offset(Point)
Round()
ToString()
Union(Rect)
Union(Rect, Rect)

Operators

Equality(Rect, Rect)
Inequality(Rect, Rect)

Applies to