public class Point extends Shape
Constructor and Description |
---|
Point(char legend,
java.awt.Color color,
double... point)
Constructor.
|
Point(char legend,
double... point)
Constructor.
|
Point(java.awt.Color color,
double... point)
Constructor.
|
Point(double... point)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
char |
getLegend()
Returns the legend of point.
|
void |
paint(Graphics g)
Draw the component with given graphics object.
|
Point |
setLegend(char legend)
Set the legend of point.
|
public Point(double... point)
public Point(char legend, double... point)
public Point(java.awt.Color color, double... point)
public Point(char legend, java.awt.Color color, double... point)
public char getLegend()
public Point setLegend(char legend)