Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //Zavd 1
- g.drawLine(0,0,100,90);
- g.drawRect(10,160,60,50);
- g.fillRoundRect(280,150,60,50,40,30);
- g.drawOval(10,250,50,50);
- g.drawArc(10,350,70,70,0,180);
- int xp[]={10,200,10,200,10};
- int yp[]={450,450,650,650,450};
- int num=5;
- g.drawPokygon(xp, yp, num);
- d=getSize();
- g.drawLine(0,0,d.width,d.heigh-1);
- g.drawLine(0,0,d.width,d.heigh-1,10);
- g.drawLine(50,50,d.width,d.heigh-10);
- g.drawRect(50,100,d.width,d.heigh-10);
- g.fillOval(50,100,d.width,d.heigh-10);
- g.fillOval(60,150,d.width,d.heigh-10);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement