Package viewer.symbols
Class PointSymbol
java.lang.Object
viewer.symbols.Symbol
viewer.symbols.PointSymbol
public class PointSymbol extends Symbol
Marker for a point map feature. The feature is marked on the map using a
circle.
-
Field Summary
Fields Modifier and Type Field Description protected java.awt.Color
color
protected int
pointWidth
-
Constructor Summary
Constructors Constructor Description PointSymbol(Feature feature)
PointSymbol(Feature feature, java.awt.Color color)
PointSymbol(Feature feature, java.awt.Color color, int pointWidth)
-
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
-
color
protected java.awt.Color color -
pointWidth
protected int pointWidth
-
-
Constructor Details
-
PointSymbol
- Parameters:
feature
- feature which the point is associated to
-
PointSymbol
- Parameters:
feature
- feature which the point is associated tocolor
- color of the point
-
PointSymbol
- Parameters:
feature
- featurecolor
- colorpointWidth
- point width
-
-
Method Details