public void Fill(Dictionary <ConsoleCommand, string> instructions) { var Canvas = BusinessLogic.CanvasBuilder.GetCanvas <List <DataLine> >(instructions); var Geomatry = FillUtility.Fill(Canvas, instructions); DrawUtility.Draw(Geomatry); }
public PaintBucket() { DrawUtility = new DrawUtility(); FillUtility = new FillUtility(); }