Point Struct
Definition
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

Point
 Attributes
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) 
Stores the components of the point in the corresponding arguments. 
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) 
Applies to
Feedback
Loading feedback...