protected class TacticalGraphicLabel.OrderedLabel extends Object implements OrderedRenderable
| Modifier and Type | Field and Description | 
|---|---|
| protected double | eyeDistanceDistance from the eye point to the label's geographic location. | 
| protected Vec4 | placePointGeographic position in cartesian coordinates. | 
| protected Angle | rotationRotation applied to the label. | 
| protected Rectangle | screenExtentExtent of the label on the screen. | 
| protected Vec4 | screenPlacePointLocation of the place point projected onto the screen. | 
| protected Point | screenPointLocation of the upper left corner of the text measured from the lower left corner of the viewport. | 
| Modifier | Constructor and Description | 
|---|---|
| protected  | OrderedLabel() | 
| Modifier and Type | Method and Description | 
|---|---|
| protected void | doDrawOrderedRenderable(DrawContext dc,
                       PickSupport pickCandidates) | 
| protected void | doDrawText(TextRenderer textRenderer) | 
| double | getDistanceFromEye()Returns the ordered renderable's distance from the current view's eye point. | 
| protected Font | getFont() | 
| Layer | getPickLayer() | 
| protected boolean | isDrawInterior() | 
| boolean | isEnableBatchPicking() | 
| boolean | isEnableBatchRendering() | 
| void | pick(DrawContext dc,
    Point pickPoint)Executes a pick of the ordered renderable. | 
| void | render(DrawContext dc)Causes this  Renderableto render itself using the provided draw context. | 
protected double eyeDistance
protected Vec4 placePoint
protected Angle rotation
protected Rectangle screenExtent
protected Vec4 screenPlacePoint
protected Point screenPoint
protected void doDrawOrderedRenderable(DrawContext dc, PickSupport pickCandidates)
protected void doDrawText(TextRenderer textRenderer)
public double getDistanceFromEye()
OrderedRenderablegetDistanceFromEye in interface OrderedRenderableprotected Font getFont()
public Layer getPickLayer()
protected boolean isDrawInterior()
public boolean isEnableBatchPicking()
public boolean isEnableBatchRendering()
public void pick(DrawContext dc, Point pickPoint)
OrderedRenderablepick in interface OrderedRenderabledc - the current draw context.pickPoint - the pick point.public void render(DrawContext dc)
RenderableRenderable to render itself using the provided draw context.render in interface Renderabledc - the DrawContext to be usedDrawContext