Package viewer.symbols
Class LineSymbol
java.lang.Object
viewer.symbols.Symbol
viewer.symbols.LineSymbol
public class LineSymbol extends Symbol
A line segment that can be added to a map
- Author:
- haunert
-
Field Summary
Fields Modifier and Type Field Description protected java.awt.Stroke
stroke
protected java.awt.Color
strokeColor
-
Constructor Summary
Constructors Constructor Description LineSymbol(Feature feature)
LineSymbol(Feature feature, java.awt.Color strokeColor)
LineSymbol(Feature feature, java.awt.Color strokeColor, java.awt.Stroke stroke)
-
Method Summary
Modifier and Type Method Description void
draw(java.awt.Graphics2D g, Transformation t)
This method is called to draw this Symbol into a specified Graphics object.
-
Field Details
-
stroke
protected java.awt.Stroke stroke -
strokeColor
protected java.awt.Color strokeColor
-
-
Constructor Details
-
LineSymbol
- Parameters:
feature
- feature which the line is associated to
-
LineSymbol
- Parameters:
feature
- featurestrokeColor
- stroke color
-
LineSymbol
- Parameters:
feature
- feature which the polygon is associated tostrokeColor
- stroke colorstroke
- stroke object
-
-
Method Details