aboutsummaryrefslogtreecommitdiffstats
path: root/src/com/jogamp/graph/curve/opengl/TextRenderer.java
diff options
context:
space:
mode:
authorRami Santina <[email protected]>2011-03-31 18:38:23 +0300
committerRami Santina <[email protected]>2011-03-31 18:38:23 +0300
commite8c69e69374b6650e37594ebf104602fb06b548b (patch)
treef420595e0ec1bb43d023693b195792448b4371b6 /src/com/jogamp/graph/curve/opengl/TextRenderer.java
parent1c1a7d7ad51ea2041a5a121f034d4d748827b16c (diff)
Inclass Documentation cleanup of public API
Diffstat (limited to 'src/com/jogamp/graph/curve/opengl/TextRenderer.java')
-rw-r--r--src/com/jogamp/graph/curve/opengl/TextRenderer.java16
1 files changed, 8 insertions, 8 deletions
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<String, GlyphString> strings = new HashMap<String, GlyphString>();
+
/**
* 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<String, GlyphString> strings = new HashMap<String, GlyphString>();
-
- /**
- *
- * @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
*/