Rect 结构

定义

public value class Rect
[System.ComponentModel.TypeConverter(typeof(Microsoft.Maui.Graphics.Converters.RectTypeConverter))]
public struct Rect
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Maui.Graphics.Converters.RectTypeConverter))>]
type Rect = struct
Public Structure Rect
继承
Rect
属性

构造函数

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

运算符

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

扩展方法

Lerp(Rect, Rect, Double)

适用于