Coordinates.cs 615 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6. namespace PixiEditorDotNetCore3.Models
  7. {
  8. public class Coordinates
  9. {
  10. private int _X;
  11. public int X
  12. {
  13. get { return _X; }
  14. set { _X = value; }
  15. }
  16. private int _Y;
  17. public int Y
  18. {
  19. get { return _Y; }
  20. set { _Y = value; }
  21. }
  22. public Coordinates()
  23. {
  24. }
  25. public Coordinates(int x, int y)
  26. {
  27. X = x;
  28. Y = y;
  29. }
  30. }
  31. }