Class TileRed
java.lang.Object
org.apache.batik.ext.awt.image.rendered.AbstractRed
org.apache.batik.ext.awt.image.rendered.TileRed
- All Implemented Interfaces:
RenderedImage, CachableRed, TileGenerator
This filter simply tiles its tile starting from the upper
left corner of the tiled region.
-
Field Summary
Fields inherited from class AbstractRed
bounds, cm, minTileX, minTileY, numXTiles, numYTiles, props, sm, srcs, tileGridXOff, tileGridYOff, tileHeight, tileWidth -
Constructor Summary
ConstructorsConstructorDescriptionTileRed(RenderedImage tile, Rectangle tiledRegion) TileRed(RenderedImage tile, Rectangle tiledRegion, int xStep, int yStep) TileRed(RenderedImage tile, Rectangle tiledRegion, int xStep, int yStep, RenderingHints hints) TileRed(RenderedImage tile, Rectangle tiledRegion, RenderingHints hints) -
Method Summary
Modifier and TypeMethodDescriptionprotected voidprotected voidprotected voidfillRasterFrom(WritableRaster wr, RenderedImage src) protected static SampleModelfixSampleModel(RenderedImage src, int stepX, int stepY, int width, int height) This function 'fixes' the source's sample model.genTile(int x, int y) getTile(int x, int y) Methods inherited from class 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
-
Constructor Details
-
TileRed
-
TileRed
-
TileRed
-
TileRed
public TileRed(RenderedImage tile, Rectangle tiledRegion, int xStep, int yStep, RenderingHints hints)
-
-
Method Details
-
copyData
- Specified by:
copyDatain interfaceRenderedImage
-
getTile
- Specified by:
getTilein interfaceRenderedImage- Overrides:
getTilein classAbstractRed
-
genTile
- Specified by:
genTilein interfaceTileGenerator
-
fillRasterFrom
-
fillOutRaster
-
fillOutRaster_INT_PACK
-
fillOutRaster_FALLBACK
-
fixSampleModel
protected static SampleModel fixSampleModel(RenderedImage src, int stepX, int stepY, int width, int height) This function 'fixes' the source's sample model. right now it just ensures that the sample model isn't much larger than my width.
-