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.
Struct defining a 2D point as a pair of doubles.
[System.Diagnostics.DebuggerDisplay("X={X}, Y={Y}")]
[Xamarin.Forms.TypeConverter(typeof(Xamarin.Forms.PointTypeConverter))]
public struct Point
type Point = struct
 Inheritance

System.ValueTypePoint
 Attributes

System.Diagnostics.DebuggerDisplayAttribute TypeConverterAttribute
Constructors
Point(Double, Double) 
Creates a new Point object that represents the point ( 
Point(Size) 
Creates a new Point object that has coordinates that are specified by the width and height of 
Fields
Zero 
The Point at {0,0}. 
Properties
IsEmpty 
Whether both X and Y are 0. 
X 
Location along the horizontal axis. 
Y 
Location along the vertical axis. 
Methods
Deconstruct(Double, Double)  
Distance(Point) 
Calculates the distance between two points. 
Equals(Object) 
Returns 
GetHashCode() 
Returns a hash value for the Point. 
Offset(Double, Double) 
Returns a new Point that translates the current Point by 
Round() 
Returns a new Point whose X and Y have been rounded to the nearest integral value. 
ToString() 
A humanreadable representation of the Point. 
Operators
Addition(Point, Size)  
Equality(Point, Point) 
Whether the two Points are equal. 
Explicit(Point to Size) 
Returns a new Size whose Width and Height and equivalent to the 
Inequality(Point, Point) 
Whether two points are not equal. 
Subtraction(Point, Size) 