Professional Documents
Culture Documents
//***BASICSTROKE CODE
//nose
window.setColor(Color.CYAN);
g2.setStroke(new BasicStroke (10)); //***BASICSTROKE CODE
//window.drawLine( 410, 270, 460, 320 );
//window.drawLine( 400, 320, 460, 320 );
int[] x = {415, 465, 365};
int[] y = {250, 350, 350};
window.fillPolygon( x, y, 3);
//mouth
g2.setStroke(new BasicStroke (2)); //***BASICSTROKE CODE
window.setColor(Color.RED);
window.drawArc(265, 220, 270, 220, 200, 140);
}
}