Files
stgsharp/封存/.Net Framework/StgSharp/StgSharp Geometry/Line.cs
T

34 lines
537 B
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace StgSharp_Geometry
{
internal 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;
}
}
}