public class GL2StringDrawer extends AbstractTextDrawer
GLGraphics2D
class.Modifier and Type | Class and Description |
---|---|
static class |
GL2StringDrawer.FontRenderCache |
AbstractTextDrawer.GLFontMetrics
Constructor and Description |
---|
GL2StringDrawer() |
Modifier and Type | Method and Description |
---|---|
void |
dispose()
Disposes the helper object.
|
void |
drawString(AttributedCharacterIterator iterator,
float x,
float y) |
void |
drawString(AttributedCharacterIterator iterator,
int x,
int y) |
void |
drawString(String string,
float x,
float y) |
void |
drawString(String string,
int x,
int y) |
getFont, getFontMetrics, getFontRenderContext, pop, push, resetHints, setFont, setG2D, setHint
public void dispose()
G2DDrawingHelper
Graphics2D
object. This should dispose all GL resources when
all drawing is finished and no more calls will be executing on this OpenGL
context and these resources.public void drawString(AttributedCharacterIterator iterator, float x, float y)
public void drawString(AttributedCharacterIterator iterator, int x, int y)
public void drawString(String string, float x, float y)
public void drawString(String string, int x, int y)
Copyright © 2010-2013. All Rights Reserved.