/Drawing-Program

A Java Drawing Program

Primary LanguageJava

Drawing-Program

A Java Drawing Program (support select, drag, scale, rotate and other transformations)

Some features:

  1. Strokes can be set to black, red or yellow before being drawn by clicking on the buttons in toolbar. Default colour is black when no colour was set. When a stroke got selected, clicking colour buttons can change the colour of the slected stroke and the colour of the next stroke. When selecting a colour before drawing next stroke, next stroke will be changed to the slected colour.

  2. Stockes' thickness can be changed by typing in the desired thickness in the testfield of toolbar and press return. Default thickness is 2.0f before drawing. Thickness can be changed when clicking on the stroke. Background yellow highlight thickness will be changed with the stroke. When changing thickness before drawing next stroke, next stroke will be changed to the xet thickness. Other strokes' thickness can be changed easily to current set stroke thickness by clicking on them.