public Rect(Point startP, Point endP) { startPoint = startP; endPoint = endP; DrawSettings = new DrawSettings(1, Color.Black, Color.Transparent); keyPoints = PaintHelper.PointsFromRect(PaintHelper.NormalizeRect(startPoint, endPoint)); }
public Circle(Point startP, Point endP) : base(startP, endP) { DrawSettings = new DrawSettings(1, Color.Black, Color.Transparent); KeyPoints = PaintHelper.PointsFromRect(NormalRectToSquare(PaintHelper.NormalizeRect(startP, endP))); }
public Line(Point startP, Point endP) { startPoint = startP; endPoint = endP; DrawSettings = new DrawSettings(2, Color.Black, Color.Transparent); }