public class OGLTextRenderer extends TextRenderer
TextRenderer.DefaultRenderDelegate, TextRenderer.RenderDelegate
Modifier and Type | Field and Description |
---|---|
protected static boolean |
DEFAULT_ANTIALIAS |
protected static java.awt.Font |
DEFAULT_FONT |
protected static boolean |
DEFAULT_MIPMAP |
protected static boolean |
DEFAULT_SMOOTHING |
protected static boolean |
DEFAULT_USE_FRACTIONAL_METRICS |
protected static boolean |
DEFAULT_USE_VERTEX_ARRAYS |
Constructor and Description |
---|
OGLTextRenderer() |
OGLTextRenderer(java.awt.Font font) |
OGLTextRenderer(java.awt.Font font,
boolean mipmap) |
OGLTextRenderer(java.awt.Font font,
boolean antialiased,
boolean useFractionalMetrics) |
OGLTextRenderer(java.awt.Font font,
boolean antialiased,
boolean useFractionalMetrics,
TextRenderer.RenderDelegate renderDelegate) |
OGLTextRenderer(java.awt.Font font,
boolean antialiased,
boolean useFractionalMetrics,
TextRenderer.RenderDelegate renderDelegate,
boolean mipmap) |
Modifier and Type | Method and Description |
---|---|
static TextRenderer |
getOrCreateTextRenderer(TextRendererCache cache,
java.awt.Font font) |
static TextRenderer |
getOrCreateTextRenderer(TextRendererCache cache,
java.awt.Font font,
boolean antialiased,
boolean useFractionalMetrics,
boolean mipmap) |
protected void |
initialize() |
begin3DRendering, beginRendering, beginRendering, dispose, draw, draw, draw3D, draw3D, end3DRendering, endRendering, flush, getBounds, getBounds, getCharWidth, getFont, getFontRenderContext, getSmoothing, getUseVertexArrays, setColor, setColor, setSmoothing, setUseVertexArrays
protected static final boolean DEFAULT_ANTIALIAS
protected static final java.awt.Font DEFAULT_FONT
protected static final boolean DEFAULT_MIPMAP
protected static final boolean DEFAULT_SMOOTHING
protected static final boolean DEFAULT_USE_FRACTIONAL_METRICS
protected static final boolean DEFAULT_USE_VERTEX_ARRAYS
public OGLTextRenderer()
public OGLTextRenderer(java.awt.Font font)
public OGLTextRenderer(java.awt.Font font, boolean mipmap)
public OGLTextRenderer(java.awt.Font font, boolean antialiased, boolean useFractionalMetrics)
public OGLTextRenderer(java.awt.Font font, boolean antialiased, boolean useFractionalMetrics, TextRenderer.RenderDelegate renderDelegate)
public OGLTextRenderer(java.awt.Font font, boolean antialiased, boolean useFractionalMetrics, TextRenderer.RenderDelegate renderDelegate, boolean mipmap)
public static TextRenderer getOrCreateTextRenderer(TextRendererCache cache, java.awt.Font font)
public static TextRenderer getOrCreateTextRenderer(TextRendererCache cache, java.awt.Font font, boolean antialiased, boolean useFractionalMetrics, boolean mipmap)
protected void initialize()