superwaba.ext.xplat.html
Interface Style.Header

Enclosing class:
Style

public static interface Style.Header

Header Interface


Method Summary
 void draw(Graphics g, FontMetrics fm, int xpos, int ypos, Rect dmgRect)
          Draws the appropriate header when painting the Tile.
 

Method Detail

draw

public void draw(Graphics g,
                 FontMetrics fm,
                 int xpos,
                 int ypos,
                 Rect dmgRect)
Draws the appropriate header when painting the Tile.
Parameters:
g - Graphics context to use to draw
fm - font metrics in use
xpos - left coordinate of the rectangle to be drawn
ypos - bottom coordinate of the rectangle to be drawn
dmgRect - damaged rectangle