共用方式為


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)

適用於