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)

适用于