| java.lang.Object org.apache.xmlgraphics.image.rendered.AbstractRed org.apache.xmlgraphics.image.codec.png.PNGRed
PNGRed | public class PNGRed extends AbstractRed (Code) | | version: $Id: PNGRed.java 496559 2007-01-16 01:10:29Z cam $ |
Inner Class :static class PNGChunk | |
Method Summary | |
public WritableRaster | copyData(WritableRaster wr) | public static ColorModel | createComponentColorModel(SampleModel sm) A convenience method to create an instance of
ComponentColorModel suitable for use with the
given SampleModel . | public Raster | getTile(int tileX, int tileY) |
PNG_COLOR_GRAY | final public static int PNG_COLOR_GRAY(Code) | | |
PNG_COLOR_GRAY_ALPHA | final public static int PNG_COLOR_GRAY_ALPHA(Code) | | |
PNG_COLOR_PALETTE | final public static int PNG_COLOR_PALETTE(Code) | | |
PNG_COLOR_RGB | final public static int PNG_COLOR_RGB(Code) | | |
PNG_COLOR_RGB_ALPHA | final public static int PNG_COLOR_RGB_ALPHA(Code) | | |
PNG_FILTER_AVERAGE | final public static int PNG_FILTER_AVERAGE(Code) | | |
PNG_FILTER_NONE | final public static int PNG_FILTER_NONE(Code) | | |
PNG_FILTER_PAETH | final public static int PNG_FILTER_PAETH(Code) | | |
PNG_FILTER_SUB | final public static int PNG_FILTER_SUB(Code) | | |
PNG_FILTER_UP | final public static int PNG_FILTER_UP(Code) | | |
copyData | public WritableRaster copyData(WritableRaster wr)(Code) | | |
createComponentColorModel | public static ColorModel createComponentColorModel(SampleModel sm)(Code) | | A convenience method to create an instance of
ComponentColorModel suitable for use with the
given SampleModel . The SampleModel
should have a data type of DataBuffer.TYPE_BYTE ,
TYPE_USHORT , or TYPE_INT and between
1 and 4 bands. Depending on the number of bands of the
SampleModel , either a gray, gray+alpha, rgb, or
rgb+alpha ColorModel is returned.
|
getTile | public Raster getTile(int tileX, int tileY)(Code) | | |
Methods inherited from org.apache.xmlgraphics.image.rendered.AbstractRed | public static void copyBand(Raster src, int srcBand, WritableRaster dst, int dstBand)(Code)(Java Doc) public void copyToRaster(WritableRaster wr)(Code)(Java Doc) public Rectangle getBounds()(Code)(Java Doc) public ColorModel getColorModel()(Code)(Java Doc) public Raster getData()(Code)(Java Doc) public Raster getData(Rectangle rect)(Code)(Java Doc) public Shape getDependencyRegion(int srcIndex, Rectangle outputRgn)(Code)(Java Doc) public Shape getDirtyRegion(int srcIndex, Rectangle inputRgn)(Code)(Java Doc) public int getHeight()(Code)(Java Doc) public int getMinTileX()(Code)(Java Doc) public int getMinTileY()(Code)(Java Doc) public int getMinX()(Code)(Java Doc) public int getMinY()(Code)(Java Doc) public int getNumXTiles()(Code)(Java Doc) public int getNumYTiles()(Code)(Java Doc) public Object getProperty(String name)(Code)(Java Doc) public String[] getPropertyNames()(Code)(Java Doc) public SampleModel getSampleModel()(Code)(Java Doc) public Vector getSources()(Code)(Java Doc) public Raster getTile(int tileX, int tileY)(Code)(Java Doc) public int getTileGridXOffset()(Code)(Java Doc) public int getTileGridYOffset()(Code)(Java Doc) public int getTileHeight()(Code)(Java Doc) public int getTileWidth()(Code)(Java Doc) public int getWidth()(Code)(Java Doc) final public int getXTile(int xloc)(Code)(Java Doc) final public int getYTile(int yloc)(Code)(Java Doc) protected void init(CachableRed src, Rectangle bounds, ColorModel cm, SampleModel sm, int tileGridXOff, int tileGridYOff, Map props)(Code)(Java Doc) protected void init(List srcs, Rectangle bounds, ColorModel cm, SampleModel sm, int tileGridXOff, int tileGridYOff, Map props)(Code)(Java Doc) public WritableRaster makeTile(int tileX, int tileY)(Code)(Java Doc) protected void updateTileGridInfo()(Code)(Java Doc)
|
|
|