import java.awt.*;
import java.applet.*;
public class Arcos extends Applet
{
public void paint(Graphics arc)
{
arc.drawArc(10,40,70,70,0,75);
arc.fillArc(100,40,70,70,0,75);
arc.drawArc(10,100,70,80,0,175);
arc.fillArc(100,100,70,90,0,270);
arc.drawArc(200,80,80,80,0,180);
}
}
No hay comentarios:
Publicar un comentario