public Rectangle(DrawingImpl drawing, double x1, double y1, double x2, double y2) : base(drawing) { _x1 = x1; _y1 = y1; _x2 = x2; _y2 = y2; }
public Circle(DrawingImpl drawing, double x, double y, double r) : base(drawing) { this._x = x; this._y = y; this._r = r; }
protected AbstractShape(DrawingImpl drawing) { this.drawing = drawing; }