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 org.apache.batik.ext.awt.image.rendered.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 void
protected void
protected void
fillRasterFrom
(WritableRaster wr, RenderedImage src) protected static SampleModel
fixSampleModel
(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 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
-
Constructor Details
-
TileRed
-
TileRed
-
TileRed
-
TileRed
public TileRed(RenderedImage tile, Rectangle tiledRegion, int xStep, int yStep, RenderingHints hints)
-
-
Method Details
-
copyData
- Specified by:
copyData
in interfaceRenderedImage
-
getTile
- Specified by:
getTile
in interfaceRenderedImage
- Overrides:
getTile
in classAbstractRed
-
genTile
- Specified by:
genTile
in 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.
-