public class CrossSymbol
extends jahuwaldt.plot.PlotSymbol
CrossSymbol
class draws a cross for a point symbol.Constructor and Description |
---|
CrossSymbol()
Creates an cross plot symbol object that has a width of 8
pixels, is transparent and has a border color of black.
|
Modifier and Type | Method and Description |
---|---|
void |
draw(java.awt.Graphics gc,
int x,
int y)
Draws a plot symbol consisting of a cross to the specified
graphics context at the specified coordinates.
|
public CrossSymbol()
public void draw(java.awt.Graphics gc, int x, int y)
draw
in class jahuwaldt.plot.PlotSymbol
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.