public class ImageItem extends AbstractVisualItem
anchor, bounds| Constructor and Description |
|---|
ImageItem(File imageFile,
int width,
int height,
int padding) |
| Modifier and Type | Method and Description |
|---|---|
void |
draw(Graphics2D g2d) |
protected Rectangle2D |
updateBounds() |
getBounds, getPosition, setPosition, setPositionpublic ImageItem(File imageFile, int width, int height, int padding)
public void draw(Graphics2D g2d)
draw in interface VisualItemdraw in class AbstractVisualItemprotected Rectangle2D updateBounds()
updateBounds in class AbstractVisualItemCopyright © 2013 dontdrinkandroot. All Rights Reserved.