From e8c69e69374b6650e37594ebf104602fb06b548b Mon Sep 17 00:00:00 2001 From: Rami Santina Date: Thu, 31 Mar 2011 18:38:23 +0300 Subject: Inclass Documentation cleanup of public API --- src/com/jogamp/graph/curve/opengl/TextRenderer.java | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'src/com/jogamp/graph/curve/opengl/TextRenderer.java') diff --git a/src/com/jogamp/graph/curve/opengl/TextRenderer.java b/src/com/jogamp/graph/curve/opengl/TextRenderer.java index 25e8b950f..83f2c93ca 100644 --- a/src/com/jogamp/graph/curve/opengl/TextRenderer.java +++ b/src/com/jogamp/graph/curve/opengl/TextRenderer.java @@ -15,6 +15,8 @@ import com.jogamp.graph.geom.Vertex; public abstract class TextRenderer extends Renderer { + protected HashMap strings = new HashMap(); + /** * Create a Hardware accelerated Text Renderer. * @param factory optional Point.Factory for Vertex construction. Default is Vertex.Factory. @@ -30,7 +32,7 @@ public abstract class TextRenderer extends Renderer { /** Render the String in 3D space wrt to the font provided at the position provided * the outlines will be generated, if not yet generated * @param gl the current GL state - * @param font font to be used + * @param font {@link Font} to be used * @param str text to be rendered * @param position the lower left corner of the string * @param fontSize font size @@ -40,13 +42,11 @@ public abstract class TextRenderer extends Renderer { public abstract void renderString3D(GL2ES2 gl, Font font, String str, float[] position, int fontSize, int texSize); - protected HashMap strings = new HashMap(); - - /** - * - * @param font - * @param size - * @param str + /**Create the resulting {@link GlyphString} that represents + * the String wrt to the font. + * @param font {@link Font} to be used + * @param size font size + * @param str {@link String} to be created * @param sharpness parameter for Region generation of the resulting GlyphString * @return the resulting GlyphString inclusive the generated region */ -- cgit v1.2.3