using System;
|
using System.Collections.Generic;
|
using System.Linq;
|
using System.Text;
|
using System.Threading.Tasks;
|
|
namespace RichCreator.Utility.Structs
|
{
|
public class ZTPointObj
|
{
|
public ZTPointObj()
|
{
|
|
}
|
public ZTPointObj(Int32 x, Int32 y)
|
{
|
this.X = x;
|
this.Y = y;
|
}
|
|
public Int32 X { get; set; }
|
|
public Int32 Y { get; set; }
|
|
public ZTPoint To()
|
{
|
return new ZTPoint(this.X, this.Y);
|
}
|
|
public static ZTPointObj From(ZTPoint obj)
|
{
|
return new ZTPointObj(obj.X, obj.Y);
|
}
|
}
|
}
|