Skip to content

Program that lets users draw shapes and import images onto a canvas.

Notifications You must be signed in to change notification settings

anuragreggie/Drawing-Package

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

Vector Drawing Package Using Java

Functionality

  • 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.

Demonstration of program

Program demonstration


How to compile and run in terminal

  • First make sure you are in the src folder.
  • Now type javac Main.java to compile and then java Main to run.

About

Program that lets users draw shapes and import images onto a canvas.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages