de.matthiasmann.twl.renderer
Interface AttributedStringFontCache

All Superinterfaces:
Resource

public interface AttributedStringFontCache
extends Resource


Method Summary
 void draw(int x, int y)
          Draw the cached text block at the given coordinates
 int getHeight()
          Returns the height in pixels of the cached text block
 int getWidth()
          Returns the width in pixels of the cached text block
 
Methods inherited from interface de.matthiasmann.twl.renderer.Resource
destroy
 

Method Detail

getWidth

int getWidth()
Returns the width in pixels of the cached text block

Returns:
the width in pixels of the cached text block

getHeight

int getHeight()
Returns the height in pixels of the cached text block

Returns:
the height in pixels of the cached text block

draw

void draw(int x,
          int y)
Draw the cached text block at the given coordinates

Parameters:
x - the left coordinate
y - the top coordinate