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(String text,
double x,
double y,
TextRendererCache renderers)
Draw a multi-line html text string with bounding rectangle top starting at the y position.
|
Rectangle |
MultiLineTextRenderer.getBoundsHTML(String text,
TextRendererCache renderers)
Returns the bounding rectangle for a multi-line html string.
|
void |
MultiLineTextRenderer.pickHTML(String text,
int x,
int y,
TextRendererCache renderers,
DrawContext dc,
PickSupport pickSupport,
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.
|
String |
MultiLineTextRenderer.wrapHTML(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,
Font font,
String hyperlink,
Color color) |
Modifier and Type | Method and Description |
---|---|
static TextRenderer |
OGLTextRenderer.getOrCreateTextRenderer(TextRendererCache cache,
Font font) |
static TextRenderer |
OGLTextRenderer.getOrCreateTextRenderer(TextRendererCache cache,
Font font,
boolean antialiased,
boolean useFractionalMetrics,
boolean mipmap) |