Point 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 double-precision floating-point coordinates.
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
- Inheritance
-
Point
- Attributes
Constructors
Point(Double, Double) | |
Point(Size) | |
Point(SizeF) | |
Point(Vector2) |
Fields
Zero |
Represents a Point 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(Double, Double) | |
Distance(Point) | |
Equals(Object, Double) | |
Equals(Object) | |
GetHashCode() | |
Offset(Double, Double) | |
Round() | |
ToString() |
Returns a string representation of this Point. |
TryParse(String, Point) |
Operators
Addition(Point, SizeF) | |
Equality(Point, Point) | |
Explicit(Point to Size) | |
Implicit(Point to PointF) | |
Implicit(Vector2 to Point) | |
Inequality(Point, Point) | |
Subtraction(Point, Point) | |
Subtraction(Point, SizeF) |
Extension Methods
Lerp(Point, Point, Double) |