public class LineFeatureOverlay extends LineOverlay
LineFeatureOverlay
class annotates a data view
with line features from a line feature source.drawingShadow
alpha, lastTrans, prepared
Constructor and Description |
---|
LineFeatureOverlay(java.awt.Color color,
int layer,
java.awt.Stroke stroke,
LineFeatureSource source)
Constructs a new earth vector overlay.
|
LineFeatureOverlay(java.awt.Color color,
LineFeatureSource source)
Constructs a new earth vector overlay.
|
Modifier and Type | Method and Description |
---|---|
protected void |
draw(java.awt.Graphics2D g,
EarthDataView view)
Draws the overlay graphics.
|
protected void |
prepare(java.awt.Graphics2D g,
EarthDataView view)
Prepares the overlay graphics prior to drawing.
|
clip, drawShadow, getDropShadow, getShadowColor, getStroke, render, setDropShadow, setStroke
clone, compareTo, getAlphaVersion, getColor, getColors, getColorWithAlpha, getLayer, getMetadataAtPoint, getName, getTransparency, getVisible, hasMetadata, invalidate, isPrepared, needsPrepare, setColor, setLayer, setName, setTransparency, setVisible
public LineFeatureOverlay(java.awt.Color color, int layer, java.awt.Stroke stroke, LineFeatureSource source)
color
- the overlay color.layer
- the overlay layer number.stroke
- the stroke to use for vector paths.source
- the source for vector data.public LineFeatureOverlay(java.awt.Color color, LineFeatureSource source)
BasicStroke
.color
- the overlay color.source
- the source for vector data.protected void prepare(java.awt.Graphics2D g, EarthDataView view)
EarthDataOverlay
prepare
in class EarthDataOverlay
g
- the graphics object for drawing.view
- the earth data view.protected void draw(java.awt.Graphics2D g, EarthDataView view)
EarthDataOverlay
draw
in class EarthDataOverlay
g
- the graphics object for drawing.view
- the earth data view.