Difference between revisions of "Assessment 2010 Easy"

From Progzoo
Jump to: navigation, search
(Created page with '{{Assessment 2010}} Flags of regions of Russia <shell> import java.awt.image.BufferedImage; import java.awt.*; import java.io.File; import javax.imageio.ImageIO; public class Ra...')
 
(Adygea)
Line 35: Line 35:
 
*9 stars on the circumference of a circle centre (125,105) radius 90
 
*9 stars on the circumference of a circle centre (125,105) radius 90
  
<prog>
+
<prog><![CDATA[
 
static void drawFlag(Graphics2D g){
 
static void drawFlag(Graphics2D g){
 
   g.setColor(new Color(41,107,14));
 
   g.setColor(new Color(41,107,14));
Line 58: Line 58:
 
   g.translate(-x,-y);
 
   g.translate(-x,-y);
 
}
 
}
 
+
]]></prog>
</prog>
 
 
</question>
 
</question>

Revision as of 15:52, 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 16
  • 9 stars on the circumference of a circle centre (125,105) radius 90


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