I am experimenting with Java graphics AWT version, not swing (for the moment). I have "Hair" on one side of the head, how in the world, do I get that same bit on the otherside, curved the other direction?
I've tried many combinations and it never turns out like it does over there and im frustrated.
public class main extends Applet {
public void init() {
// Customized Colors
Color wallColor = new Color(76, 70, 70);
// Applet Size
setSize(1500, 900);
// Set Applet Background Color
setBackground(wallColor);
}
public void stop() {
}
public void paint(Graphics g)
{
// Custom Colors
Color pictureFrame = new Color(188, 198, 204);
// Picture Frames
g.setColor(pictureFrame);
g.fillRect(50,50,300,450);
g.setColor(Color.BLUE);
g.fillRect(75,75,250,400);
//Face
g.setColor(Color.WHITE);
g.fillOval(120,120,170,170);
//Hair
g.setColor(Color.BLACK);
g.drawArc(195, 125, 70, 553, 0, 90);
g.drawArc(195, 125, 75, 553, 0, 90);
g.drawArc(195, 125, 80, 553, 0, 90);
g.drawArc(195, 125, 85, 553, 0, 90);
g.drawArc(195, 125, 90, 553, 0, 90);
g.drawArc(195, 125, 95, 553, 0, 90);
g.drawArc(195, 125, 100, 553, 0, 90);
g.drawArc(195, 125, 105, 553, 0, 90);
g.drawArc(195, 125, 110, 553, 0, 90);
g.drawArc(195, 125, 77, 553, 0, 90);
g.drawArc(195, 125, 77, 553, 0, 90);
g.drawArc(195, 125, 83, 553, 0, 90);
g.drawArc(195, 125, 87, 553, 0, 90);
g.drawArc(195, 125, 93, 553, 0, 90);
g.drawArc(195, 125, 97, 553, 0, 90);
g.drawArc(195, 125, 103, 553, 0, 90);
g.drawArc(195, 125, 107, 553, 0, 90);
g.drawArc(195, 125, 113, 553, 0, 90);
}
}