Package noaa.coastwatch.render
Class XSymbol
java.lang.Object
jahuwaldt.plot.PlotSymbol
noaa.coastwatch.render.XSymbol
- All Implemented Interfaces:
Serializable
,Cloneable
public class XSymbol
extends jahuwaldt.plot.PlotSymbol
The
XSymbol
class draws an X for a point symbol.- Since:
- 3.2.3
- Author:
- Peter Hollemans
- See Also:
-
Constructor Summary
ConstructorDescriptionXSymbol()
Creates an X 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
-
XSymbol
public XSymbol()Creates an X 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.
-