Difference between revisions of "Assessment 2012 Easy"

From Progzoo
Jump to: navigation, search
(Naval Jack)
Line 3: Line 3:
 
Each of these flags is worth 9 points.  
 
Each of these flags is worth 9 points.  
 
==Naval Jack==
 
==Naval Jack==
<question height="300" width="400" imgOut="flag.png" className="Raster" title="Naval Jack" cols="60">
+
<question width="342" height="170" imgOut="flag.png" className="Raster" title="Naval Jack" cols="60">
 
*342 by 170
 
*342 by 170
 
*The blue RBG 0,41,140
 
*The blue RBG 0,41,140
Line 11: Line 11:
 
static void drawFlag(Graphics2D g){
 
static void drawFlag(Graphics2D g){
 
   g.setColor(new Color(0,41,140));
 
   g.setColor(new Color(0,41,140));
   drawStar(g,321,135,24);
+
   drawStar(g,221,85,24);
 
}
 
}
 
static void drawStar(Graphics2D g,int x, int y, int r)
 
static void drawStar(Graphics2D g,int x, int y, int r)

Revision as of 13:33, 29 August 2012

Each of these flags is worth 9 points.

Naval Jack

  • 342 by 170
  • The blue RBG 0,41,140
  • The stars have radius 6
Diversion


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