//THE ACTUAL SHAPE RENDERING IS HERE public void render(Shape.Line line, int thickness = 1, Brush color = null) { Pen pcolor; if (color == null) { pcolor = new Pen(Brushes.Black, thickness); } else { pcolor = new Pen(color, thickness); } LineStruct ls = new LineStruct(line, pcolor); renderlist.Add(ls); renderct++; }
public LineStruct(Shape.Line l, Pen c) { line = l; p = c; }
public LineStruct(Shape.Line l, Pen p) { line = l; this.p = p; }