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) |