src/bunnj/FaceMaker.java
private Shape createRightEye(String givenShape) {
        final double scaleFactor = 0.15;
        final double size = scaleFactor*HEAD_SIZE;
        final double yBottom = WINDOW_SIZE/2 + size*3/2;
        final double xLeft = WINDOW_SIZE/2 + size;

        String name = faceMap.get("rightEyeName").getText();
        return determineShape(givenShape, xLeft, yBottom, size, size, Color.WHITE, name);
    }
/**
     * Creates and returns a shape representing the right eye
     * @param givenShape a String representing the given shape
     * @return shape representing the right eye
     */
Creates and returns a shape representing the right eye
@param givenShape a String representing the given shape
@return shape representing the right eye
Creates and returns a shape representing the right eye @param givenShape a String representing the given shape @return shape representing the right eye
private Shape createRightEye(String givenShape) {
        final double scaleFactor = 0.15;
        final double size = scaleFactor*HEAD_SIZE;
        final double yBottom = WINDOW_SIZE/2 + size*3/2;
        final double xLeft = WINDOW_SIZE/2 + size;
        String name = faceMap.get("rightEyeName").getText();
        return determineShape(givenShape, xLeft, yBottom, size, size, Color.WHITE, name);
    }
private Shape createRightEye ( String givenShape ) { final double scaleFactor = 0.15 ; final double size = scaleFactor * HEAD_SIZE ; final double yBottom = WINDOW_SIZE / 2 + size * 3 / 2 ; final double xLeft = WINDOW_SIZE / 2 + size ; String name = faceMap . get ( "rightEyeName" ) . getText ( ) ; return determineShape ( givenShape , xLeft , yBottom , size , size , Color . WHITE , name ) ; }
Creates and returns a shape representing the right eye
 @param givenShape a String representing the given shape
 @return shape representing the right eye
Creates and returns a shape representing the right eye @param givenShape a String representing the given shape @return shape representing the right eye