Point 結構
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
public value class Point
[System.ComponentModel.TypeConverter(typeof(Microsoft.Maui.Graphics.Converters.PointTypeConverter))]
public struct Point
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Maui.Graphics.Converters.PointTypeConverter))>]
type Point = struct
Public Structure Point
- 繼承
-
Point
- 屬性
建構函式
| 名稱 | Description |
|---|---|
| Point(Double, Double) | |
| Point(Size) | |
| Point(SizeF) | |
| Point(Vector2) | |
欄位
| 名稱 | Description |
|---|---|
| Zero | |
屬性
| 名稱 | Description |
|---|---|
| IsEmpty | |
| X | |
| Y | |
方法
| 名稱 | Description |
|---|---|
| Deconstruct(Double, Double) | |
| Distance(Point) | |
| Equals(Object) | |
| Equals(Object, Double) | |
| GetHashCode() | |
| Offset(Double, Double) | |
| Round() | |
| ToString() | |
| TryParse(String, Point) | |
運算子
擴充方法
| 名稱 | Description |
|---|---|
| Lerp(Point, Point, Double) | |