public class PaintedImage extends Object implements PaintedObject, ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
Constructor and Description |
---|
PaintedImage(Image image,
Rectangle2D bounds)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
Rectangle2D |
getBounds()
Deprecated.
Get the bounding box of the object when painted.
|
boolean |
imageUpdate(Image image,
int flags,
int x,
int y,
int w,
int h)
Deprecated.
|
void |
paint(Graphics2D g)
Deprecated.
Paint the shape.
|
public PaintedImage(Image image, Rectangle2D bounds)
public Rectangle2D getBounds()
getBounds
in interface PaintedObject
public void paint(Graphics2D g)
paint
in interface PaintedObject
public boolean imageUpdate(Image image, int flags, int x, int y, int w, int h)
imageUpdate
in interface ImageObserver
Copyright © 2024 Central Laboratory of the Research Councils. All Rights Reserved.