maslab.vis
Class VisEllipse
java.lang.Object
maslab.vis.VisObject
maslab.vis.VisEllipse
-
Direct Known Subclasses:
- VisGaussianEllipse
-
public class VisEllipse
- extends VisObject
An ellipse.
Constructor Summary |
VisEllipse(java.awt.Color color,
double x,
double y,
double xx,
double xy,
double yy)
|
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. |
void |
set(double x,
double y,
double xx,
double xy,
double yy)
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
x
public double x
y
public double y
theta
public double theta
xx
public double xx
xy
public double xy
yy
public double yy
size
public double size
color
public java.awt.Color color
VisEllipse
public VisEllipse(java.awt.Color color,
double x,
double y,
double xx,
double xy,
double yy)
set
public void set(double x,
double y,
double xx,
double xy,
double yy)
-
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
-