|
mxGraph 2.5.0.2 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.mxgraph.util.png.mxPngImageEncoder
public class mxPngImageEncoder
An ImageEncoder for the PNG file format.
Field Summary | |
---|---|
protected OutputStream |
output
The OutputStream associcted with this ImageEncoder. |
Constructor Summary | |
---|---|
mxPngImageEncoder(OutputStream output,
mxPngEncodeParam param)
|
Method Summary | |
---|---|
void |
encode(RenderedImage im)
This method encodes a RenderedImage into PNG. |
OutputStream |
getOutputStream()
Returns the OutputStream associated with this ImageEncoder. |
mxPngEncodeParam |
getParam()
|
void |
setParam(mxPngEncodeParam param)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected OutputStream output
Constructor Detail |
---|
public mxPngImageEncoder(OutputStream output, mxPngEncodeParam param)
Method Detail |
---|
public mxPngEncodeParam getParam()
public void setParam(mxPngEncodeParam param)
public OutputStream getOutputStream()
public void encode(RenderedImage im) throws IOException
RenderedImage
into PNG.
The stream into which the PNG is dumped is not closed at
the end of the operation, this should be done if needed
by the caller of this method.
IOException
|
mxGraph 2.5.0.2 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |