public Line2D(Pen pen) { Painter = new PolygonIPainter(); Reaction = new NoReactionIReaction(); Color = pen.Color; Width = (int)pen.Width; started = false; }
public NanglesFigure(Pen pen, int N) { Painter = new PolygonIPainter(); Reaction = new NoReactionIReaction(); Filler = new PolygonFiller(); _anglesNumber = N; Color = pen.Color; Width = (int)pen.Width; }
public IsoscelesTriangle(Pen pen) { Painter = new PolygonIPainter(); Reaction = new NoReactionIReaction(); Filler = new PolygonFiller(); Color = pen.Color; Width = (int)pen.Width; _anglesNumber = 3; IsFilled = false; }
public SquareFigure(Pen pen) { Painter = new PolygonIPainter(); Reaction = new NoReactionIReaction(); Filler = new PolygonFiller(); IsFilled = false; started = false; Color = pen.Color; Width = (int)pen.Width; _anglesNumber = 4; }
public RectTriangle() { Painter = new PolygonIPainter(); Reaction = new NoReactionIReaction(); }