- Allows user to draw lines, squares, rectangles, circles, ellipses or triangles.
- User can choose whether to a fill shape or not.
- The colour can be set before drawing to allow for shapes of any colour.
- User can clear the canvas.
- Multiple undo/redo can be performed to restore changes.
- User can save the drawing in any filename they want (files are set to be saved in the src folder by default).
- User can load a previous drawing from the src folder after specifying the name of the file they want to load.
- Images can be imported and then dragged onto canvas at any time after clicking add.
- Imported images added are scaled based on the magnitude of the mouse drag.
- First make sure you are in the
src
folder. - Now type
javac Main.java
to compile and thenjava Main
to run.