Rect 结构
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
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 |
方法
运算符
| Equality(Rect, Rect) | |
| Implicit(Rect to RectF) | |
| Inequality(Rect, Rect) |
扩展方法
| Lerp(Rect, Rect, Double) |