public class EllipsePaintStrategy extends ShapePaintStrategy
NullObject| Constructor and Description |
|---|
EllipsePaintStrategy()
No parameter constructor that creates a prototype ellipse that
has twice the width as height but an average radius of 1.
|
EllipsePaintStrategy(java.awt.geom.AffineTransform at,
double x,
double y,
double width,
double height)
Constructor that allows the specification of the location, x-radius and y-radius
of the prototype ellipse.
|
paintXfrmgetAT, init, paint, paintCfgpublic EllipsePaintStrategy()
public EllipsePaintStrategy(java.awt.geom.AffineTransform at,
double x,
double y,
double width,
double height)
at - The AffineTransform to use for internal calculationsx - floating point x-coordinate of center of circley - floating point y-coordinate of center of circlewidth - floating point x-radius of the circle (ellipse)height - floating point y-radius of the circle (ellipse)