public class OvalItem extends AbstractColoredItem
bbColor, bgColor, fgColoranchor, bounds| Constructor and Description |
|---|
OvalItem(double centerX,
double centerY,
double width,
double height) |
OvalItem(double centerX,
double centerY,
double width,
double height,
Color fgColor) |
| Modifier and Type | Method and Description |
|---|---|
void |
draw(Graphics2D g2d) |
protected Rectangle2D |
updateBounds() |
getBbColor, getBgColor, getFgColor, setBbColor, setBgColor, setFgColorgetBounds, getPosition, setPosition, setPositionpublic OvalItem(double centerX,
double centerY,
double width,
double height)
public OvalItem(double centerX,
double centerY,
double width,
double height,
Color fgColor)
public void draw(Graphics2D g2d)
draw in interface VisualItemdraw in class AbstractVisualItemprotected Rectangle2D updateBounds()
updateBounds in class AbstractVisualItemCopyright © 2012. All Rights Reserved.