Rect 结构

定义

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

构造函数

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

字段

Zero

属性

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

方法

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)

运算符

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

适用于