public class FloodRed extends AbstractRed
bounds, cm, minTileX, minTileY, numXTiles, numYTiles, props, sm, srcs, tileGridXOff, tileGridYOff, tileHeight, tileWidth
Constructor and Description |
---|
FloodRed(Rectangle bounds)
Construct a fully transparent black image
bounds size. |
FloodRed(Rectangle bounds,
Paint paint)
Construct a fully transparent image
bounds size, will
paint one tile with paint. |
Modifier and Type | Method and Description |
---|---|
WritableRaster |
copyData(WritableRaster wr) |
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(Rectangle bounds)
bounds
size.bounds
- the bounds of the image (in fact will respond with
any request).public FloodRed(Rectangle bounds, 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 Raster getTile(int x, int y)
getTile
in interface RenderedImage
getTile
in class AbstractRed
public WritableRaster copyData(WritableRaster wr)
Copyright © 2000–2023 Apache Software Foundation. All rights reserved.