org.apache.batik.ext.awt.image.rendered

Class TileRed

public class TileRed extends AbstractRed implements TileGenerator

This filter simply tiles its tile starting from the upper left corner of the tiled region.
Constructor Summary
TileRed(RenderedImage tile, Rectangle tiledRegion)
TileRed(RenderedImage tile, Rectangle tiledRegion, RenderingHints hints)
TileRed(RenderedImage tile, Rectangle tiledRegion, int xStep, int yStep)
TileRed(RenderedImage tile, Rectangle tiledRegion, int xStep, int yStep, RenderingHints hints)
Method Summary
WritableRastercopyData(WritableRaster wr)
protected voidfillOutRaster(WritableRaster wr)
protected voidfillOutRaster_FALLBACK(WritableRaster wr)
protected voidfillOutRaster_INT_PACK(WritableRaster wr)
WritableRasterfillRasterFrom(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. right now it just ensures that the sample model isn't much larger than my width.
RastergenTile(int x, int y)
RastergetTile(int x, int y)

Constructor Detail

TileRed

public TileRed(RenderedImage tile, Rectangle tiledRegion)

TileRed

public TileRed(RenderedImage tile, Rectangle tiledRegion, RenderingHints hints)

TileRed

public TileRed(RenderedImage tile, Rectangle tiledRegion, int xStep, int yStep)

TileRed

public TileRed(RenderedImage tile, Rectangle tiledRegion, int xStep, int yStep, RenderingHints hints)

Method Detail

copyData

public WritableRaster copyData(WritableRaster wr)

fillOutRaster

protected void fillOutRaster(WritableRaster wr)

fillOutRaster_FALLBACK

protected void fillOutRaster_FALLBACK(WritableRaster wr)

fillOutRaster_INT_PACK

protected void fillOutRaster_INT_PACK(WritableRaster wr)

fillRasterFrom

public WritableRaster fillRasterFrom(WritableRaster wr, RenderedImage src)

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.

genTile

public Raster genTile(int x, int y)

getTile

public Raster getTile(int x, int y)
Copyright B) 2008 Apache Software Foundation. All Rights Reserved.