A vector-drawing program, consisting of a tool palette and a canvas.
Menu bar with a File menu:
- New: Clear existing canvas and create a new drawing
- Load: Load from an existing file with supported format (.myday) to canvas
- Save: Save the current drawing as (.myday) file
A tool palette:
- Select: select the shape which is on the top of current mouse coordinates. Pressing ESC to deselect. Drag the shape to move around.
- Eraser: click on a shape to erase it
- Line: draw a line with selected color and line thickness
- Circle: draw a circle with black border and selected shape color
- Rectangle: draw a rectangle with black border and selected shape color
- Fill: click on a shape to fill with current selected color
A color palette and line thickness palette:
Select a shape and those palettes will update selected color and thickness accordingly.
Support system-level copy/paste: use ctrl+c/v to copy and paste the canvas as an image to an outside program/
Window Resizing: The tool palettes will expand and adapt upon available space if the window size is increasing. The canvas will display scrollbars if window size is smaller. A minimum size is set to the application window.
gradle run
Note: This application is developed through macOS High Sierra.
Icons obtained from: https://www.flaticon.com/authors/freepik