PointF 結構
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
表示浮點 X 和 Y 座標的排序配對,該配對會定義二維平面中的點。
public value class PointF : IEquatable<System::Drawing::PointF>
public value class PointF
C#
public struct PointF : IEquatable<System.Drawing.PointF>
C#
public struct PointF
C#
[System.Runtime.InteropServices.ComVisible(true)]
[System.Serializable]
public struct PointF
type PointF = struct
[<System.Runtime.InteropServices.ComVisible(true)>]
[<System.Serializable>]
type PointF = struct
Public Structure PointF
Implements IEquatable(Of PointF)
Public Structure PointF
- 繼承
- 屬性
- 實作
若要將 轉換為 PointFPoint,請使用 Point.Round 或 Point.Truncate。
PointF(Single, Single) |
使用指定的座標,初始化 PointF 類別的新執行個體。 |
PointF(Vector2) |
Add(PointF, Size) | |
Add(PointF, SizeF) | |
Equals(Object) | |
Equals(PointF) |
指出目前的物件是否等於另一個相同類型的物件。 |
Get |
傳回這個 PointF 結構的雜湊程式碼。 |
Subtract(PointF, Size) |
根據指定大小的負數轉譯 PointF。 |
Subtract(PointF, SizeF) |
根據指定大小的負數轉譯 PointF。 |
To |
將這個 PointF 轉換為人們可讀取的 (Human Readable) 字串。 |
To |
產品 | 版本 |
---|---|
.NET | Core 1.0, Core 1.1, Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9 |
.NET Framework | 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
.NET Standard | 2.0, 2.1 |