com.mxgraph.util.png
Class mxPngImageDecoder
java.lang.Object
com.mxgraph.util.png.mxPngImageDecoder
public class mxPngImageDecoder
- extends Object
|
Field Summary |
protected InputStream |
input
The SeekableStream associcted with this
ImageEncoder. |
protected mxPngDecodeParam |
param
The ImageDecodeParam object associated with this
ImageEncoder. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
input
protected InputStream input
- The
SeekableStream associcted with this
ImageEncoder.
param
protected mxPngDecodeParam param
- The
ImageDecodeParam object associated with this
ImageEncoder.
mxPngImageDecoder
public mxPngImageDecoder(InputStream input,
mxPngDecodeParam param)
getParam
public mxPngDecodeParam getParam()
setParam
public void setParam(mxPngDecodeParam param)
getInputStream
public InputStream getInputStream()
- Returns the
SeekableStream associated with
this ImageDecoder.
decodeAsRaster
public Raster decodeAsRaster()
throws IOException
- Throws:
IOException
decodeAsRaster
public Raster decodeAsRaster(int page)
throws IOException
- Throws:
IOException
decodeAsRenderedImage
public RenderedImage decodeAsRenderedImage()
throws IOException
- Throws:
IOException
decodeAsRenderedImage
public RenderedImage decodeAsRenderedImage(int page)
throws IOException
- Throws:
IOException
Copyright (c) 2010 Gaudenz Alder. All rights reserved.