Question: rectangle class discription link http://docs.oracle.com/javase/8/javafx/api/javafx/scene/shape/Rectangle.html What to do Create a two by two pattern of rectangles that resize with the window. Different colors in each

rectangle class discription link
http://docs.oracle.com/javase/8/javafx/api/javafx/scene/shape/Rectangle.html
What to do Create a two by two pattern of rectangles that resize with the window. Different colors in each rectangle Each rectangle width is 1/3 the width of the pane Each rectangle height is 1/3 the height of the pane Border to left and right is 1/6 width of pane Border to top and bottom is 1/6 width of pane Look at the Rectangle class Rectangle class description What properties of a rectangle will have to be adjusted What else needs to be set? Draw a rough picture and work out coordinates and sizes For example, the x value of the upper left rectangle will paneFor example, the y value of the upper left rectangle will pane be 1/6 of the width of the be 1/6 of the height of the pane
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
