Skip to main content

Point Methods

Methods

Deconstruct(Double, Double)Deconstructs the point into its X and Y coordinates.
Distance(Point, Point)Computes the Euclidean distance between the two given points.
Equals(Object)Checks for equality between a point and an object.
(Overrides ValueType.Equals(Object))
Equals(Point)Returns a boolean indicating whether the point is equal to the other given point (bitwise).
GetHashCode()Returns a hash code for a Point.
(Overrides ValueType.GetHashCode())
GetType()Gets the Type of the current instance.
(Inherited from Object)
NearlyEquals(Point)Returns a boolean indicating whether the point is equal to the other given point (numerically).
Parse(String)Parses a Point string.
ToString()Returns the string representation of the point.
(Overrides ValueType.ToString())
Transform(Matrix)Transforms the point by a matrix.
WithX(Double)Returns a new point with the specified X coordinate.
WithY(Double)Returns a new point with the specified Y coordinate.

Extension Methods

ToSKPoint()
(Defined by SkiaSharpExtensions)

See Also

Reference

Point Structure
Avalonia Namespace