maslab.vis
Class VisPoint
java.lang.Object
maslab.vis.VisObject
maslab.vis.VisPoint
public class VisPoint
- extends VisObject
A single point.
Field Summary |
java.awt.Color |
color
|
double |
size
|
double |
x
|
double |
y
|
Constructor Summary |
VisPoint(java.awt.Color c,
double size,
double x,
double y)
|
Method Summary |
void |
paint(VisCanvas vc,
java.awt.Graphics2D g,
java.awt.image.BufferedImage bi)
Overriden by each subclass to draw itself onto the provided
graphics context. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
size
public double size
color
public java.awt.Color color
x
public double x
y
public double y
VisPoint
public VisPoint(java.awt.Color c,
double size,
double x,
double y)
paint
public void paint(VisCanvas vc,
java.awt.Graphics2D g,
java.awt.image.BufferedImage bi)
- Description copied from class:
VisObject
- Overriden by each subclass to draw itself onto the provided
graphics context. Applications can choose to use either the Graphics2D
(which has the correct transform already set up) or to draw to the
buffered image directly.
- Specified by:
paint
in class VisObject