DPoint.cs
547 字节
using System;
using System.Collections.Generic;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace TSA_V.DeviceLibrary
{
public class DPoint
{
public DPoint()
{
}
public DPoint(double x, double y)
{
X = x;
Y = y;
}
public double X { get; set; } = 0.0;
public double Y { get; set; } = 0.0;
public Point ToPoint()
{
return new Point((int)X, (int)Y);
}
}
}