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)

适用于