// (c) J. Dean Brock, Rebecca F. Bruce, 2001, 2004, 2006, 2008
// Department of Computer Science
// University of North Carolina at Asheville

// Derived from UNCA CSCI 201 Face lab
// (c) J. Dean Brock, 1998

import java.awt.* ;

public class Face {
    
  public static void main(String[] args) {
    Picture facePict = new Picture(500, 600) ;
    Graphics2D g = facePict.createGraphics() ;

    // Modifications start here
    
    // The face "background"
    g.setColor( Color.YELLOW ) ;
    g.fillRect(  50,  50, 400, 500 ) ;
           
    // The evil eye
    g.setColor( Color.DARK_GRAY) ;
    // Create an empty polygon to hold the corners of the add
    Polygon evilEye = new Polygon() ;
    // Add in the corners of the eye
    evilEye.addPoint(100, 100) ;
    evilEye.addPoint(200, 100) ;
    evilEye.addPoint(200, 200) ;
    // Fill in the evil eye
    g.fillPolygon(evilEye) ;
        
    // The nose
    g.fillArc(  150, 150, 200, 200, 250, 40) ;

    // The mouth
    g.setColor( Color.RED ) ;
    g.fillRect( 100, 400, 300,  50 ) ;
    // Modifications end here
    
    facePict.show() ;
    facePict.setTitle("face") ;  
  }       
}
