Skip to content

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

27 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 

Repository files navigation

VIDEO DEMONSTRATION: https://uwgb-my.sharepoint.com/:v:/g/personal/chrie30_uwgb_edu/ESCt3DCTX2RDoL8Xv3c_c6YBiXve2ftteBYhZFYhW3SdRA?nav=eyJyZWZlcnJhbEluZm8iOnsicmVmZXJyYWxBcHAiOiJPbmVEcml2ZUZvckJ1c2luZXNzIiwicmVmZXJyYWxBcHBQbGF0Zm9ybSI6IldlYiIsInJlZmVycmFsTW9kZSI6InZpZXciLCJyZWZlcnJhbFZpZXciOiJNeUZpbGVzTGlua0NvcHkifX0&e=6oNxxA

Prerequisites:
	- MUST use JavaSE-1.8
	- Must have JavaFX installed and properly configured

HOW TO USE:
	- You can either download the code and put it in Eclipse (or IDE of your choice) and "Run As Java Application" or you can run the .jar file in the folder
	
	- Upon launching the project, you will be prompted to choose a Width and a Height for your canvas. You will only be able to draw on the size you choose.
		- Making the canvas 1920 width OR 1080 height, it will automaticall start in Full Screen mode.
	
	- In the upper lefthand corner, you can choose a Shape. This will allow you choose
		- Freehand
			- Just normal freehand mouse drawing
		- Square
			- This allows you to do square-shaped objects, or rectangles
		- Circle
			- This allows you to do circle-shaped, oval, or ellipse shaped objects
	
	- In the bottom right there is a Save Button. It opens a FileChooser to allow you to name the image and choose where you want it saved.
		- If there are errors with the file, an alert appears.
	
	- In the bottom right there is a Load Button. It opens a FileChooser to allow you to open a .png or a .jpg file.
		- If there are errors with the file, an alert appears.
	
	- In the top right right, you can change your color. Pressing this opens a window to choose a premade color or you can press custom.
		- Pressing custom opens a new bar panel to choose either HSB, RGB, or Web colors. You can then either Use (to just use it) or Save (to save it as a custom color and choose it at a later time)
		
	- Next to the color picker, you will see a BLACK Box. This represents what color you chose. This updates in real-time
	
	- Under the color picker there is a slider for the brush thickness. This affects ALL shapes and the eraser tool.
		- Under the Color Box there is a thickness box. This roughly shows how thick the brush is.
		
	- Next to the shape picker, there is an UNDO and REDO function. Any time there is any change to the Canvas, it will save and allow you to undo changes.
		- EX: You load a PNG, you can undo it. You draw a smiley face, you can undo it a few times. Consuming Event occurs, you can undo the forced drawing.
		- When pressing undo, if you press REDO, you will redo the undo changes. However, if you make changes during the undo phase, you will no longer be able to redo.
			- EX: Draw a 5. You undo it and make it a 6. You can't press REDO to make it back to 5.
	
	- ONLY pressing left mouse button will allow for drawings to appear. This is because in future iterations, we will be making right click the eraser.
		- While drawing, if you press ANY other button on the mouse, it will stop the drawing at the last known PRIMARY (left mouse) button instance.
		
	- Pressing clear wipes all data on the canvas including imported images. This also saves to Undo/Redo function.

BUGS/ISSUES:
	- The way to "erase" right now is to change the color to white and just draw over it.
	- We never added an outline to the eraser tool to show how big/what it looks like. Just drawing with the Eraser removes stuff.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages