| java.lang.Object java.awt.Image java.awt.image.BufferedImage com.sun.pdfview.RefImage
RefImage | public class RefImage extends BufferedImage (Code) | | A BufferedImage subclass that holds a strong reference to its graphics
object. This means that the graphics will never go away as long as
someone holds a reference to this image, and createGraphics() and
getGraphics() can be called multiple times safely, and will always return
the same graphics object.
|
Constructor Summary | |
public | RefImage(int width, int height, int type) |
Method Summary | |
public Graphics2D | createGraphics() Create a graphics object only if it is currently null, otherwise
return the existing graphics object. |
RefImage | public RefImage(int width, int height, int type)(Code) | | Creates a new instance of RefImage
|
createGraphics | public Graphics2D createGraphics()(Code) | | Create a graphics object only if it is currently null, otherwise
return the existing graphics object.
|
Methods inherited from java.awt.image.BufferedImage | public void addTileObserver(TileObserver to)(Code)(Java Doc) public void coerceData(boolean isAlphaPremultiplied)(Code)(Java Doc) public WritableRaster copyData(WritableRaster outRaster)(Code)(Java Doc) public Graphics2D createGraphics()(Code)(Java Doc) public WritableRaster getAlphaRaster()(Code)(Java Doc) public ColorModel getColorModel()(Code)(Java Doc) public Raster getData()(Code)(Java Doc) public Raster getData(Rectangle rect)(Code)(Java Doc) public java.awt.Graphics getGraphics()(Code)(Java Doc) public int getHeight()(Code)(Java Doc) public int getHeight(ImageObserver observer)(Code)(Java Doc) public int getMinTileX()(Code)(Java Doc) public int getMinTileY()(Code)(Java Doc) public int getMinX()(Code)(Java Doc) public int getMinY()(Code)(Java Doc) public int getNumXTiles()(Code)(Java Doc) public int getNumYTiles()(Code)(Java Doc) public Object getProperty(String name, ImageObserver observer)(Code)(Java Doc) public Object getProperty(String name)(Code)(Java Doc) public String[] getPropertyNames()(Code)(Java Doc) public int getRGB(int x, int y)(Code)(Java Doc) public int[] getRGB(int startX, int startY, int w, int h, int[] rgbArray, int offset, int scansize)(Code)(Java Doc) public WritableRaster getRaster()(Code)(Java Doc) public SampleModel getSampleModel()(Code)(Java Doc) public ImageProducer getSource()(Code)(Java Doc) public Vector<RenderedImage> getSources()(Code)(Java Doc) public BufferedImage getSubimage(int x, int y, int w, int h)(Code)(Java Doc) public Raster getTile(int tileX, int tileY)(Code)(Java Doc) public int getTileGridXOffset()(Code)(Java Doc) public int getTileGridYOffset()(Code)(Java Doc) public int getTileHeight()(Code)(Java Doc) public int getTileWidth()(Code)(Java Doc) public int getTransparency()(Code)(Java Doc) public int getType()(Code)(Java Doc) public int getWidth()(Code)(Java Doc) public int getWidth(ImageObserver observer)(Code)(Java Doc) public WritableRaster getWritableTile(int tileX, int tileY)(Code)(Java Doc) public Point[] getWritableTileIndices()(Code)(Java Doc) public boolean hasTileWriters()(Code)(Java Doc) public boolean isAlphaPremultiplied()(Code)(Java Doc) public boolean isTileWritable(int tileX, int tileY)(Code)(Java Doc) public void releaseWritableTile(int tileX, int tileY)(Code)(Java Doc) public void removeTileObserver(TileObserver to)(Code)(Java Doc) public void setData(Raster r)(Code)(Java Doc) public synchronized void setRGB(int x, int y, int rgb)(Code)(Java Doc) public void setRGB(int startX, int startY, int w, int h, int[] rgbArray, int offset, int scansize)(Code)(Java Doc) public String toString()(Code)(Java Doc)
|
|
|