Author: Nadezhda Grishina
Version: 2023
The Advanced Canvas Drawing Project is an enhanced Java Swing-based application that allows users to draw complex shapes and interact with the canvas using various modes.
This version introduces additional features like cut modes, seed fill, scanline, and several shape-drawing options, making it a more advanced tool for graphic design.
- ๐๏ธ Line Mode: Draw straight, horizontal, vertical, or diagonal lines by holding [Shift].
- ๐บ Polygon Mode: Draw multi-point polygons.
- ๐ณ Rectangle Mode: Draw squares and rectangles.
- ๐ต Ellipse Mode: Draw circles and ellipses.
- โ๏ธ Cut Mode: Use [Control] to change shapes in Cut mode.
- ๐งน Clear Canvas: Press [C] to clear the canvas and delete all objects.
- ๐ฅ SeedFiller Mode: Press [F] to enable SeedFilling for filling closed shapes with a color.
- ๐ ScanLine Mode: Press [S] to enable ScanLine for advanced line filling.
- ๐ Shape Mode Switch: Switch between drawing different shapes using [L], [P], [T], [R], [E] for Line, Polygon, Triangle, Rectangle, and Ellipse modes.
- ๐ฑ๏ธ Right-click for SeedFill: Use right-click to activate SeedFill in default Polygon mode.
โจ Live demo below โ
- Clone the repository:
git clone https://github.com/nadyagrishina/advanced-canvas-drawing-project.git
This project was developed as part of coursework at the University of Hradec Krรกlovรฉ (UHK).
It uses a base structure and some foundational classes provided by the Faculty of Informatics and Management for educational purposes.
All additional code, logic, and extensions were implemented by the author.
