protected class GeographicTextRenderer.OrderedText extends Object implements OrderedRenderable, Comparable<GeographicTextRenderer.OrderedText>
Modifier and Type | Method and Description |
---|---|
int |
compareTo(GeographicTextRenderer.OrderedText t) |
double |
getDistanceFromEye()
Returns the ordered renderable's distance from the current view's eye point.
|
void |
pick(DrawContext dc,
Point pickPoint)
Executes a pick of the ordered renderable.
|
void |
render(DrawContext dc)
Causes this
Renderable to render itself using the provided draw context. |
public int compareTo(GeographicTextRenderer.OrderedText t)
compareTo
in interface Comparable<GeographicTextRenderer.OrderedText>
public double getDistanceFromEye()
OrderedRenderable
getDistanceFromEye
in interface OrderedRenderable
public void pick(DrawContext dc, Point pickPoint)
OrderedRenderable
pick
in interface OrderedRenderable
dc
- the current draw context.pickPoint
- the pick point.public void render(DrawContext dc)
Renderable
Renderable
to render itself using the provided draw context.render
in interface Renderable
dc
- the DrawContext
to be usedDrawContext