# Point Point Struct

## Definition

Struct defining a 2-D 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

- Attributes

## Constructors

Point(Size) Point(Size) |
Creates a new Point object that has coordinates that are specified by the width and height of |

Point(Double, Double) Point(Double, Double) |
Creates a new Point object that represents the point ( |

## Fields

Zero Zero |
The Point at {0,0}. |

## Properties

IsEmpty IsEmpty |
Whether both X and Y are 0. |

X X |
Location along the horizontal axis. |

Y Y |
Location along the vertical axis. |

## Methods

Deconstruct(Double, Double) Deconstruct(Double, Double) |
Stores the components of the point in the corresponding arguments. |

Distance(Point) Distance(Point) |
Calculates the distance between two points. |

Equals(Object) Equals(Object) |
Returns |

GetHashCode() GetHashCode() |
Returns a hash value for the Point. |

Offset(Double, Double) Offset(Double, Double) |
Returns a new Point that translates the current Point by |

Round() Round() |
Returns a new Point whose X and Y have been rounded to the nearest integral value. |

ToString() ToString() |
A human-readable representation of the Point. |

## Operators

Addition(Point, Size) Addition(Point, Size) | |

Equality(Point, Point) Equality(Point, Point) |
Whether the two Points are equal. |

Explicit(Point to Size) Explicit(Point to Size) |
Returns a new Size whose Width and Height and equivalent to the |

Inequality(Point, Point) Inequality(Point, Point) |
Whether two points are not equal. |

Subtraction(Point, Size) Subtraction(Point, Size) |