Files
stgsharp/源代码/.Net Framework/Stg_Sharp/Stg_Sharp/Geometry/Line.cs
T

35 lines
660 B
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace StgSharp.Geometry
{
public class Line
{
private Point _beginPoint;
public Point BeginPoint
{
get { return _beginPoint; }
set { _beginPoint = value; }
}
private Point _endingPoint;
public Point EndingPoint
{
get { return _endingPoint; }
set { _endingPoint = value; }
}
public Line(Point begin, Point end)
{
_beginPoint = begin;
_endingPoint = end;
}
}
}