public class ScreenElevationLine extends Object implements Renderable
Constructor and Description |
---|
ScreenElevationLine() |
Modifier and Type | Method and Description |
---|---|
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(Color color)
Set the line color.
|
void |
setElevation(double elevation)
Set the line elevation.
|
void |
setEnabled(boolean state) |
public Color getColor()
public double getElevation()
public boolean isEnabled()
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
public void setColor(Color color)
color
- the line color.public void setElevation(double elevation)
elevation
- the line elevation.public void setEnabled(boolean state)