Package noaa.coastwatch.render
Class CrossSymbol
java.lang.Object
jahuwaldt.plot.PlotSymbol
noaa.coastwatch.render.CrossSymbol
- All Implemented Interfaces:
Serializable
,Cloneable
public class CrossSymbol
extends jahuwaldt.plot.PlotSymbol
The
CrossSymbol
class draws a cross for a point symbol.- Since:
- 3.2.3
- Author:
- Peter Hollemans
- See Also:
-
Constructor Summary
ConstructorDescriptionCreates an cross plot symbol object that has a width of 8 pixels, is transparent and has a border color of black. -
Method Summary
Methods inherited from class jahuwaldt.plot.PlotSymbol
clone, getBorderColor, getFillColor, getSize, setBorderColor, setFillColor, setSize
-
Constructor Details
-
CrossSymbol
public CrossSymbol()Creates an cross plot symbol object that has a width of 8 pixels, is transparent and has a border color of black.
-
-
Method Details
-
draw
Draws a plot symbol consisting of a cross to the specified graphics context at the specified coordinates.- Specified by:
draw
in classjahuwaldt.plot.PlotSymbol
- Parameters:
gc
- The graphics context where the symbol will be drawn.x
- The horizontal position of the center of the symbol.y
- The vertical position of the center of the symbol.
-