Class FloodRed
java.lang.Object
org.apache.batik.ext.awt.image.rendered.AbstractRed
org.apache.batik.ext.awt.image.rendered.FloodRed
- All Implemented Interfaces:
RenderedImage
,CachableRed
This implementation of RenderedImage will generate an infinate
field of a single color. It reports bounds but will in fact render
out to infinity.
- Version:
- $Id: FloodRed.java 1733416 2016-03-03 07:07:13Z gadams $
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate WritableRaster
A single tile that we move around as needed...Fields inherited from class org.apache.batik.ext.awt.image.rendered.AbstractRed
bounds, cm, minTileX, minTileY, numXTiles, numYTiles, props, sm, srcs, tileGridXOff, tileGridYOff, tileHeight, tileWidth
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.apache.batik.ext.awt.image.rendered.AbstractRed
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
-
Field Details
-
raster
A single tile that we move around as needed...
-
-
Constructor Details
-
FloodRed
Construct a fully transparent black imagebounds
size.- Parameters:
bounds
- the bounds of the image (in fact will respond with any request).
-
FloodRed
Construct a fully transparent imagebounds
size, will paint one tile with paint. Thus paint should not be a pattered paint or gradient but should be a solid color.- Parameters:
bounds
- the bounds of the image (in fact will respond with any request).
-
-
Method Details
-
getTile
- Specified by:
getTile
in interfaceRenderedImage
- Overrides:
getTile
in classAbstractRed
-
copyData
-