static void Main(string[] args) { InstanceGeneratorConfig instanceGeneratorConfig = new InstanceGeneratorConfig(); InstanceGeneratorMain IG = new InstanceGeneratorMain(instanceGeneratorConfig); IG.create_instance(); InstanceDrawing instanceDrawing = new InstanceDrawing(IG, new DrawingSettings()); instanceDrawing.draw("instance.bmp"); return; }
public void draw_instance(String filename) { InstanceDrawing instanceDrawing = new InstanceDrawing(this, new DrawingSettings()); instanceDrawing.draw(filename); }