共用方式為


RectF 結構

定義

public value class RectF
[System.ComponentModel.TypeConverter(typeof(Microsoft.Maui.Graphics.Converters.RectFTypeConverter))]
public struct RectF
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Maui.Graphics.Converters.RectFTypeConverter))>]
type RectF = struct
Public Structure RectF
繼承
RectF
屬性

建構函式

RectF(PointF, SizeF)
RectF(Single, Single, Single, Single)

欄位

Zero

屬性

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

方法

Contains(PointF)
Contains(RectF)
Contains(Single, Single)
Deconstruct(Single, Single, Single, Single)
Equals(Object)
Equals(RectF)
FromLTRB(Single, Single, Single, Single)
GetHashCode()
Inflate(Single, Single)
Inflate(SizeF)
Intersect(RectF)
Intersect(RectF, RectF)
IntersectsWith(RectF)
Offset(PointF)
Offset(Single, Single)
Round()
ToString()
TryParse(String, RectF)
Union(RectF)
Union(RectF, RectF)

運算子

Equality(RectF, RectF)
Implicit(RectF to Rect)
Inequality(RectF, RectF)

擴充方法

Lerp(RectF, RectF, Double)
AsSKRect(RectF)

適用於