Xamarin.Forms by Xamarin Inc.

<PackageReference Include="Xamarin.Forms" Version="1.4.4.6387" />

.NET API 713,216 bytes

 Point

public struct Point
Struct defining a 2-D point as a pair of doubles.
public static Point Zero

The Point at {0,0}.

public bool IsEmpty { get; }

Whether both X and Y are 0.

public double X { get; set; }

Location along the horizontal axis.

public double Y { get; set; }

Location along the vertical axis.

public Point(double x, double y)

public Point(Size sz)

public static Point op_Addition(Point pt, Size sz)

Returns a new Point by adding a Size to a Point.

public static bool op_Equality(Point pt_a, Point pt_b)

Whether the two Points are equal.

public static Size op_Explicit(Point pt)

Returns a new Size whose Width and Height and equivalent to the pt's X and Y properties.

public static bool op_Inequality(Point pt_a, Point pt_b)

Whether two points are not equal.

public static Point op_Subtraction(Point pt, Size sz)

Returns a new Point by subtracting a Size from a Point.

public double Distance(Point other)

Calculates the distance between two points.

public Point Offset(double dx, double dy)

Returns a new Point that translates the current Point by dx and dy.

public Point Round()

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