use of com.cburch.draw.model.Drawing in project logisim-evolution by reds-heig.
the class Main method main.
public static void main(String[] args) {
DrawingAttributeSet attrs = new DrawingAttributeSet();
Drawing model = new Drawing();
CanvasObject rect = attrs.applyTo(new Rectangle(25, 25, 50, 50));
model.addObjects(0, Collections.singleton(rect));
showFrame(model, "Drawing 1");
showFrame(model, "Drawing 2");
}
Aggregations