Repeat the previous question, but use the following changes instead: //Draw face interior: gc.setFill(Color.YELLOW); gc.fillOval(X_FACE, Y_FACE, FACE_DIAMETER, FACE_DIAMETER); //Draw mouth: ...


Repeat the previous question, but use the following changes instead:



//Draw face interior:


gc.setFill(Color.YELLOW);



gc.fillOval(X_FACE, Y_FACE,


FACE_DIAMETER, FACE_DIAMETER);


//Draw mouth:


gc.setFill(Color.RED);



gc.strokeArc(X_MOUTH, Y_MOUTH, MOUTH_WIDTH,



MOUTH_HEIGHT, MOUTH_START_ANGLE,



MOUTH_EXTENT_ANGLE, ArcType.OPEN);



//Draw face outline:


gc.setFill(Color.BLACK);


gc.strokeOval(X_FACE, Y_FACE,



FACE_DIAMETER, FACE_DIAMETER);



//Draw nose:



gc.setFill(Color.BLACK);



gc.fillOval(X_NOSE, Y_NOSE,


NOSE_DIAMETER, NOSE_DIAMETER);


//Draw eyes:



gc.setFill(Color.BLUE);


gc.fillOval(X_RIGHT_EYE, Y_RIGHT_EYE,



EYE_WIDTH, EYE_HEIGHT);


gc.fillOval(X_LEFT_EYE, Y_LEFT_EYE,



EYE_WIDTH, EYE_HEIGHT);

Nov 21, 2021
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here