共用方式為


PointF 結構

定義

public value class PointF
[System.ComponentModel.TypeConverter(typeof(Microsoft.Maui.Graphics.Converters.PointFTypeConverter))]
public struct PointF
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Maui.Graphics.Converters.PointFTypeConverter))>]
type PointF = struct
Public Structure PointF
繼承
PointF
屬性

建構函式

PointF(Single, Single)
PointF(SizeF)
PointF(Vector2)

欄位

Zero

屬性

IsEmpty
X
Y

方法

Deconstruct(Single, Single)
Distance(PointF)
Equals(Object)
Equals(Object, Single)
GetHashCode()
Offset(Single, Single)
Round()
ToString()
TransformBy(Matrix3x2)
TryParse(String, PointF)

運算子

Addition(PointF, SizeF)
Equality(PointF, PointF)
Explicit(PointF to SizeF)
Explicit(PointF to Vector2)
Implicit(PointF to Point)
Implicit(Vector2 to PointF)
Inequality(PointF, PointF)
Subtraction(PointF, PointF)
Subtraction(PointF, SizeF)

擴充方法

Lerp(PointF, PointF, Double)
ToSKPoint(PointF)

適用於