|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectballworld.model.paint.APaintStrategy
ballworld.model.paint.ShapePaintStrategy
ballworld.model.paint.strategy.EllipsePaintStrategy
public class EllipsePaintStrategy
Paint strategy to paint an ellipse shape
Field Summary |
---|
Fields inherited from class ballworld.model.paint.APaintStrategy |
---|
at |
Fields inherited from interface ballworld.model.IPaintStrategy |
---|
NullObject |
Constructor Summary | |
---|---|
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. |
Method Summary |
---|
Methods inherited from class ballworld.model.paint.ShapePaintStrategy |
---|
paintXfrm |
Methods inherited from class ballworld.model.paint.APaintStrategy |
---|
init, paint, paintCfg |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public 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)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |