public EllipsStruct(Shape.Ellipse e, int x, int y, Pen p) { ell = e; this.x = x; this.y = y; this.p = p; }
public void render(Shape.Ellipse ellipse, int thickness = 1, Brush color = null) { Pen pcolor; if (color == null) { pcolor = new Pen(Brushes.Black, thickness); } else { pcolor = new Pen(color, thickness); } EllipsStruct es = new EllipsStruct(ellipse, pcolor); renderlist.Add(es); renderct++; }
public EllipsStruct(Shape.Ellipse e, Pen c) { ell = e; p = c; }