public class ScreenElevationLine extends java.lang.Object implements Renderable
| Constructor and Description |
|---|
ScreenElevationLine() |
| Modifier and Type | Method and Description |
|---|---|
java.awt.Color |
getColor()
Get the line color.
|
double |
getElevation()
Get the line current elevation.
|
boolean |
isEnabled() |
void |
render(DrawContext dc)
Causes this
Renderable to render itself using the provided draw context. |
void |
setColor(java.awt.Color color)
Set the line color.
|
void |
setElevation(double elevation)
Set the line elevation.
|
void |
setEnabled(boolean state) |
public java.awt.Color getColor()
public double getElevation()
public boolean isEnabled()
public void render(DrawContext dc)
RenderableRenderable to render itself using the provided draw context.render in interface Renderabledc - the DrawContext to be usedDrawContextpublic void setColor(java.awt.Color color)
color - the line color.public void setElevation(double elevation)
elevation - the line elevation.public void setEnabled(boolean state)