Exemple #1
0
        protected void Draw(IGeometry geometryBuilder, Dictionary <ConsoleCommand, string> instructions)
        {
            var Canvas = BusinessLogic.CanvasBuilder.GetCanvas <List <DataLine> >(instructions);

            if (Canvas == null)
            {
                throw new Exception("Please create a new canvas");
            }
            var Geomatry = geometryBuilder.BuildGeometry(Canvas, instructions);

            DrawUtility.Draw(Geomatry);
        }