Point.cs 457 B

12345678910111213141516171819202122
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Threading.Tasks;
  5. using SkiaSharp;
  6. namespace FlowChartV2.Libraries
  7. {
  8. public class Point
  9. {
  10. public int x { get; set; }
  11. public int y { get; set; }
  12. public Point(int x = 0, int y = 0)
  13. {
  14. this.x = x;
  15. this.y = y;
  16. }
  17. public SKPoint getPoint()
  18. {
  19. return new SKPoint(x, y);
  20. }
  21. }
  22. }