Class GlyphProducers
- java.lang.Object
-
- com.metsci.glimpse.jogamp.opengl.util.awt.text.GlyphProducers
-
public final class GlyphProducers extends Object
Utility for working withGlyphProducer's.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static GlyphProducerget(Font font, TextRenderer.RenderDelegate rd, FontRenderContext frc, Character.UnicodeBlock ub)Creates aGlyphProducerbased on a range of characters.
-
-
-
Method Detail
-
get
public static GlyphProducer get(Font font, TextRenderer.RenderDelegate rd, FontRenderContext frc, Character.UnicodeBlock ub)
Creates aGlyphProducerbased on a range of characters.- Parameters:
font- Style of textrd- Controller of rendering detailsfrc- Details on how fonts are renderedub- Range of characters to support- Returns:
- Correct glyph producer for unicode block, not null
- Throws:
NullPointerException- if font, render delegate, or render context is null
-
-