Difference between revisions of "Assessment 2010 Easy"

From Progzoo
Jump to: navigation, search
(Adygea)
(Chita)
Line 91: Line 91:
 
<prog><![CDATA[
 
<prog><![CDATA[
 
static void drawFlag(Graphics2D g){
 
static void drawFlag(Graphics2D g){
 +
  g.setColor(Color.green);
 +
  g.fillRect(0,0,200,68);
 +
  g.setColor(Color.red);
 +
  g.fillRect(0,68,200,68);
 +
  g.setColor(Color.yellow);
 +
  g.fillPolygon(new Polygon(new int[]{0,100,0},new int[]{0,68,136},3));
 +
}
 +
]]></prog>
 +
</question>
 +
==Shakha==
 +
<question className='Raster' imgOut='flag.png' width='200' height='100'>
 +
[[Image:flag_of_Shakha.png|frame|Flag of Shakha]]
 +
*The flag is 200 by 136
 +
<prog><![CDATA[
 +
static void drawFlag(Graphics2D g){
 +
  g.setColor(Color.green);
 +
  g.fillRect(0,0,200,68);
 +
  g.setColor(Color.red);
 +
  g.fillRect(0,68,200,68);
 +
  g.setColor(Color.yellow);
 +
  g.fillPolygon(new Polygon(new int[]{0,100,0},new int[]{0,68,136},3));
 
}
 
}
 
]]></prog>
 
]]></prog>
 
</question>
 
</question>

Revision as of 17:26, 19 September 2010

Flags of regions of Russia

Adygea

Flag of Adygea
  • The flag is 250 by 125
  • The green is 41,107,14
  • The yellow is 255,214,0
  • Radius of each star is 8
  • 9 stars on the circumference of a circle centre (125,105) radius 90
  • The 9 stars are take from a circle of 20 equally spaced stars
  • The arrows are at an angle of 40 degrees.


[Font] [Default] [Show] [Resize] [History] [Profile]

Chita

Flag of Chita
  • The flag is 200 by 136


[Font] [Default] [Show] [Resize] [History] [Profile]

Shakha

Flag of Shakha
  • The flag is 200 by 136


[Font] [Default] [Show] [Resize] [History] [Profile]