Partager via


Rect Structure

Définition

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

Constructeurs

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

Champs

Zero

Propriétés

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

Méthodes

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, Rect)
Intersect(Rect)
IntersectsWith(Rect)
Offset(Double, Double)
Offset(Point)
Round()
ToString()
Union(Rect, Rect)
Union(Rect)

Opérateurs

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

S’applique à