Minor improvements

This commit is contained in:
ClemensFischer 2022-12-01 23:01:06 +01:00
parent 7e6b187fd7
commit 9280743c8a
4 changed files with 17 additions and 17 deletions

View file

@ -9,15 +9,15 @@ namespace MapControl
/// </summary>
public struct Point
{
public double X { get; set; }
public double Y { get; set; }
public Point(double x, double y)
{
X = x;
Y = y;
}
public double X { get; set; }
public double Y { get; set; }
public static implicit operator Windows.Foundation.Point(Point p)
{
return new Windows.Foundation.Point(p.X, p.Y);