From c4bd9d8c587bd1401f0fb2f60c34a4964d7afe20 Mon Sep 17 00:00:00 2001
From: asmrobot <asmrobot@hotmail.com>
Date: Sun, 27 Oct 2019 16:02:50 +0000
Subject: [PATCH] o

---
 src/RichCreator.Utility/Structs/ZTPoint.cs |   11 +++++++----
 1 files changed, 7 insertions(+), 4 deletions(-)

diff --git a/src/RichCreator.Utility/Structs/ZTPoint.cs b/src/RichCreator.Utility/Structs/ZTPoint.cs
index fd55f52..cd58bed 100644
--- a/src/RichCreator.Utility/Structs/ZTPoint.cs
+++ b/src/RichCreator.Utility/Structs/ZTPoint.cs
@@ -9,18 +9,21 @@
     /// <summary>
     /// 点
     /// </summary>
-    public struct ZTPoint : IEquatable<ZTPoint>
+    public class ZTPoint : IEquatable<ZTPoint>
     {
-        public static ZTPoint Empty = new ZTPoint(0, 0);
+        public static ZTPoint Empty = default(ZTPoint);
 
         public ZTPoint(Int32 x, Int32 y)
         {
             this.X = x;
             this.Y = y;
         }
-        public Int32 X;
 
-        public Int32 Y;
+        
+        public Int32 X { get; set; }
+
+        public Int32 Y { get; set; }
+
 
 
         public static bool operator ==(ZTPoint a, ZTPoint b)

--
Gitblit v1.9.3