Create an art app similar to the Painter app so that allows you to draw shapes by

Question:

Create an art app similar to the Painter app so that allows you to draw shapes by clicking and dragging the mouse in a Pane and adding an appropriate Shape object to the scene graph. Include options for:

a) Selecting the Shape subclass to draw—Line, Rectangle, Circle or Ellipse.

b) Changing the stroke color and thickness.

c) Specifying the fill color for Rectangles, Circles or Ellipses.

Provide red, green and blue sliders that allow you to select the RGBA color for the line or fill. Include a color swatch below the three sliders so that as you move each slider, the color swatch shows you the current drawing color. Also include options that allow you to undo the last shape and to clear the entire drawing. Enable the user to select an existing shape and move it or delete it.

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Related Book For  book-img-for-question

Java How To Program Late Objects Version

ISBN: 9780136123712

8th Edition

Authors: Paul Deitel, Deitel & Associates

Question Posted: