PointF Struct
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Represents a point in 2D space using single-precision floating-point coordinates.
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
- Inheritance
-
PointF
- Attributes
Constructors
PointF(Single, Single) | |
PointF(SizeF) | |
PointF(Vector2) |
Fields
Zero |
Represents a PointF with coordinates (0,0). |
Properties
IsEmpty | |
X |
Gets or sets the X-coordinate of this point. |
Y |
Gets or sets the Y-coordinate of this point. |
Methods
Deconstruct(Single, Single) | |
Distance(PointF) | |
Equals(Object, Single) | |
Equals(Object) | |
GetHashCode() | |
Offset(Single, Single) | |
Round() | |
ToString() |
Returns a string representation of this PointF. |
TransformBy(Matrix3x2) | |
TryParse(String, PointF) |
Operators
Extension Methods
Lerp(PointF, PointF, Double) | |
ToSKPoint(PointF) |
Converts a PointF to a SkiaSharp SKPoint. |