|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.sun.opengl.util.awt.TextRenderer.DefaultRenderDelegate
public static class TextRenderer.DefaultRenderDelegate
Constructor Summary | |
---|---|
TextRenderer.DefaultRenderDelegate()
|
Method Summary | |
---|---|
void |
draw(Graphics2D graphics,
String str,
int x,
int y)
Render the passed character sequence at the designated location using the supplied Graphics2D instance. |
void |
drawGlyphVector(Graphics2D graphics,
GlyphVector str,
int x,
int y)
Render the passed GlyphVector at the designated location using the supplied Graphics2D instance. |
Rectangle2D |
getBounds(CharSequence str,
Font font,
FontRenderContext frc)
Computes the bounds of the given character sequence relative to the origin. |
Rectangle2D |
getBounds(GlyphVector gv,
FontRenderContext frc)
Computes the bounds of the given GlyphVector, already assumed to have been created for a particular Font, relative to the origin. |
Rectangle2D |
getBounds(String str,
Font font,
FontRenderContext frc)
Computes the bounds of the given String relative to the origin. |
boolean |
intensityOnly()
Indicates whether the backing store of this TextRenderer should be intensity-only (the default) or full-color. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TextRenderer.DefaultRenderDelegate()
Method Detail |
---|
public boolean intensityOnly()
TextRenderer.RenderDelegate
intensityOnly
in interface TextRenderer.RenderDelegate
public Rectangle2D getBounds(CharSequence str, Font font, FontRenderContext frc)
TextRenderer.RenderDelegate
getBounds
in interface TextRenderer.RenderDelegate
public Rectangle2D getBounds(String str, Font font, FontRenderContext frc)
TextRenderer.RenderDelegate
getBounds
in interface TextRenderer.RenderDelegate
public Rectangle2D getBounds(GlyphVector gv, FontRenderContext frc)
TextRenderer.RenderDelegate
getBounds
in interface TextRenderer.RenderDelegate
public void drawGlyphVector(Graphics2D graphics, GlyphVector str, int x, int y)
TextRenderer.RenderDelegate
drawGlyphVector
in interface TextRenderer.RenderDelegate
public void draw(Graphics2D graphics, String str, int x, int y)
TextRenderer.RenderDelegate
draw
in interface TextRenderer.RenderDelegate
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |