private IDrawEngine engine;
this.engine = new DrawEngine();
var radius = (this as Circle).Radius;
this.engine.DrawCircle(radius);
var height = (this as Rectangle).Height;
var width = (this as Rectangle).Width;
this.engine.DrawRectangle(height, width);
public float Radius { get; set; }
public float Height { get; set; }
public float Width { get; set; }