diva.util.java2d
Class PaintedImage

java.lang.Object
  extended by diva.util.java2d.PaintedImage
All Implemented Interfaces:
PaintedObject, ImageObserver

Deprecated. Will be removed in Diva 0.4. Use diva.compat.canvas if needed.

public class PaintedImage
extends Object
implements PaintedObject, ImageObserver

Version:
$Revision: 1.8 $
Author:
Steve Neuendorffer

Field Summary
 
Fields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
 
Constructor Summary
PaintedImage(Image image, Rectangle2D bounds)
          Deprecated.  
 
Method Summary
 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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PaintedImage

public PaintedImage(Image image,
                    Rectangle2D bounds)
Deprecated. 
Method Detail

getBounds

public Rectangle2D getBounds()
Deprecated. 
Get the bounding box of the object when painted.

Specified by:
getBounds in interface PaintedObject

paint

public void paint(Graphics2D g)
Deprecated. 
Paint the shape. Implementations are expected to redraw the entire object. Whether or not the paint overwrites fields in the graphics context such as the current paint, stroke, and composite, depends on the implementing class.

Specified by:
paint in interface PaintedObject

imageUpdate

public boolean imageUpdate(Image image,
                           int flags,
                           int x,
                           int y,
                           int w,
                           int h)
Deprecated. 
Specified by:
imageUpdate in interface ImageObserver


Copyright © 2015 Central Laboratory of the Research Councils. All Rights Reserved.