특별한딸기이야기

블로그 이미지
딸기다운 사이버 공간을 만들고 싶어하는 특별한 딸기의 블로그입니다.
by 특별한녀석
  • 5978Total hit
  • 16Today hit
  • 47Yesterday hit

최근에 달린 레몬펜 쪽지

Statistics Graph

출처 angelic zoon | 아르
원문 http://blog.naver.com/pigjh1/20036843493

//  실습 11.3: Taegukgi.java

import java.applet.Applet;
import java.awt.*;

public class Taegukgi2 extends Applet
{
 //태극기를 그린다.
 public void paint (Graphics page)
 {
  //태극마크를 그린다.
  page.setColor(Color.red);
  page.fillArc(120,60,120,120,0,180);
  page.setColor(Color.blue);
  page.fillArc(120,60,120,120,180,180);
  page.setColor(Color.red);
  page.fillArc(120,90,60,60,180,180);
  page.setColor(Color.blue);
  page.fillArc(180,90,60,60,0,180);


 //건곤감리를 그린다.
  page.setColor(Color.black);

  int x1[]={54,64,99,89};
  int y1[]={72,79,28,21};
  page.fillPolygon(x1,y1,4);

  int x2[]={67,77,112,102};
  int y2[]={81,88,37,30};
  page.fillPolygon(x2,y2,4);

  int x3[]={80,90,125,115};
  int y3[]={90,97,46,39};
  page.fillPolygon(x3,y3,4);

  int x4_1[]={235,245,261,251};
  int y4_1[]={46,39,63,70};
  page.fillPolygon(x4_1,y4_1,4);

  int x4_2[]={254,264,280,270};
  int y4_2[]={74,67,91,98};
  page.fillPolygon(x4_2,y4_2,4);

  int x5[]={248,258,293,283};
  int y5[]={37,30,81,88};
  page.fillPolygon(x5,y5,4);

  int x6_1[]={261,271,287,277};
  int y6_1[]={28,21,45,52};
  page.fillPolygon(x6_1,y6_1,4);

  int x6_2[]={280,290,306,296};
  int y6_2[]={56,49,73,80};
  page.fillPolygon(x6_2,y6_2,4);

  int x7[]={54,64,99,89};
  int y7[]={168,161,212,219};
  page.fillPolygon(x7,y7,4);

  int x8_1[]={67,77,93,83};
  int y8_1[]={159,152,176,183};
  page.fillPolygon(x8_1,y8_1,4);

  int x8_2[]={86,96,112,102};
  int y8_2[]={186,179,203,210};
  page.fillPolygon(x8_2,y8_2,4);

  int x9[]={80,90,125,115};
  int y9[]={150,143,194,201};
  page.fillPolygon(x9,y9,4);

  int x10_1[]={235,245,261,251};
  int y10_1[]={194,201,177,170};
  page.fillPolygon(x10_1,y10_1,4);

  int x10_2[]={254,264,280,270};
  int y10_2[]={167,174,150,143};
  page.fillPolygon(x10_2,y10_2,4);

  int x11_1[]={248,258,274,264};
  int y11_1[]={203,210,186,179};
  page.fillPolygon(x11_1,y11_1,4);

  int x11_2[]={267,277,293,283};
  int y11_2[]={176,183,159,152};
  page.fillPolygon(x11_2,y11_2,4);

  int x12_1[]={261,271,287,277};
  int y12_1[]={212,219,195,188};
  page.fillPolygon(x12_1,y12_1,4);

  int x12_2[]={280,290,306,296};
  int y12_2[]={185,192,168,161};
  page.fillPolygon(x12_2,y12_2,4);
 }
}

TRACKBACK 0 AND COMMENT 1

ARTICLE CATEGORY

딸기 이야기 (227)
딸기의 혼잣말 (53)
딸기 호감 사이트 (2)
딸기의 사진 (15)
딸기 리뷰 (14)
딸기 공부방 (104)
딸기 자료실 (38)

CALENDAR

«   2008/07   »
    1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30 31    

ARCHIVE