public class FloodRed extends AbstractRed
bounds, cm, minTileX, minTileY, numXTiles, numYTiles, props, sm, srcs, tileGridXOff, tileGridYOff, tileHeight, tileWidth
Constructor and Description |
---|
FloodRed(java.awt.Rectangle bounds)
Construct a fully transparent black image
bounds size. |
FloodRed(java.awt.Rectangle bounds,
java.awt.Paint paint)
Construct a fully transparent image
bounds size, will
paint one tile with paint. |
Modifier and Type | Method and Description |
---|---|
java.awt.image.WritableRaster |
copyData(java.awt.image.WritableRaster wr) |
java.awt.image.Raster |
getTile(int x,
int y) |
copyBand, copyToRaster, getBounds, getColorModel, getData, getData, getDependencyRegion, getDirtyRegion, getHeight, getMinTileX, getMinTileY, getMinX, getMinY, getNumXTiles, getNumYTiles, getProperty, getPropertyNames, getSampleModel, getSources, getTileGridXOffset, getTileGridYOffset, getTileHeight, getTileWidth, getWidth, getXTile, getYTile, init, init, makeTile, updateTileGridInfo
public FloodRed(java.awt.Rectangle bounds)
bounds
size.bounds
- the bounds of the image (in fact will respond with
any request).public FloodRed(java.awt.Rectangle bounds, java.awt.Paint paint)
bounds
size, will
paint one tile with paint. Thus paint should not be a pattered
paint or gradient but should be a solid color.bounds
- the bounds of the image (in fact will respond with
any request).public java.awt.image.Raster getTile(int x, int y)
getTile
in interface java.awt.image.RenderedImage
getTile
in class AbstractRed
public java.awt.image.WritableRaster copyData(java.awt.image.WritableRaster wr)
Copyright © 2022 Apache Software Foundation. All Rights Reserved.