Question: Modify the FaceComponent class to create your own version of the alien face. Your modified code should make use of the following classes: Rectangle, Ellipse2D.Double,
Modify the FaceComponent class to create your own version of the alien face. Your modified code should make use of the following classes: Rectangle, Ellipse2D.Double, Line2D.Double. In addition, you should also use the following methods from the Graphics2D class: draw, fill, setColor.
When you modify the existing FaceComponent class, please add at least two new objects, i.e., rectangle, ellipse, line, or text.
This is a meant to be a fun assignment to help you get to know classes, objects, Graphics2d. We will be making use of Graphics2D in the future, so get some experience with it!
Please submit your FaceComponent class only. I already have the FaceViewer.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
