Package | Description |
---|---|
gov.nasa.worldwind | |
gov.nasa.worldwind.render | |
gov.nasa.worldwind.util |
Modifier and Type | Field and Description |
---|---|
protected TextRendererCache |
AbstractSceneController.textRendererCache |
Modifier and Type | Method and Description |
---|---|
TextRendererCache |
AbstractSceneController.getTextRendererCache() |
Modifier and Type | Field and Description |
---|---|
protected TextRendererCache |
MultiLineTextRenderer.DrawState.renderers |
protected TextRendererCache |
DrawContextImpl.textRendererCache |
Modifier and Type | Method and Description |
---|---|
TextRendererCache |
DrawContextImpl.getTextRendererCache() |
TextRendererCache |
DrawContext.getTextRendererCache()
Returns this draw context's text-renderer cache.
|
Modifier and Type | Method and Description |
---|---|
void |
MultiLineTextRenderer.drawHTML(java.lang.String text,
double x,
double y,
TextRendererCache renderers)
Draw a multi-line html text string with bounding rectangle top starting at the y position.
|
java.awt.Rectangle |
MultiLineTextRenderer.getBoundsHTML(java.lang.String text,
TextRendererCache renderers)
Returns the bounding rectangle for a multi-line html string.
|
void |
MultiLineTextRenderer.pickHTML(java.lang.String text,
int x,
int y,
TextRendererCache renderers,
DrawContext dc,
PickSupport pickSupport,
java.lang.Object refObject,
Position refPosition)
Draw text with unique colors word bounding rectangles and add each as a pickable object to the provided
PickSupport instance.
|
void |
DrawContextImpl.setTextRendererCache(TextRendererCache textRendererCache) |
void |
DrawContext.setTextRendererCache(TextRendererCache textRendererCache)
Specifies this context's text renderer cache.
|
java.lang.String |
MultiLineTextRenderer.wrapHTML(java.lang.String text,
double width,
double height,
TextRendererCache renderers)
Add 'new line' characters inside an html text string so that it's bounding rectangle tries not to exceed the
given dimension width.
|
Constructor and Description |
---|
DrawState(TextRendererCache renderers,
java.awt.Font font,
java.lang.String hyperlink,
java.awt.Color color) |
Modifier and Type | Method and Description |
---|---|
static TextRenderer |
OGLTextRenderer.getOrCreateTextRenderer(TextRendererCache cache,
java.awt.Font font) |
static TextRenderer |
OGLTextRenderer.getOrCreateTextRenderer(TextRendererCache cache,
java.awt.Font font,
boolean antialiased,
boolean useFractionalMetrics,
boolean mipmap) |