<AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">java.lang.Object</A>
<IMGSRC="../../../../resources/inherit.gif"ALT="extended by "><AHREF="../../../../com/mxgraph/util/png/mxPngEncodeParam.html"title="class in com.mxgraph.util.png">com.mxgraph.util.png.mxPngEncodeParam</A>
<IMGSRC="../../../../resources/inherit.gif"ALT="extended by "><B>com.mxgraph.util.png.mxPngEncodeParam.RGB</B>
</PRE>
<DL>
<DT><B>Enclosing class:</B><DD><AHREF="../../../../com/mxgraph/util/png/mxPngEncodeParam.html"title="class in com.mxgraph.util.png">mxPngEncodeParam</A></DD>
</DL>
<HR>
<DL>
<DT><PRE>public static class <B>mxPngEncodeParam.RGB</B><DT>extends <AHREF="../../../../com/mxgraph/util/png/mxPngEncodeParam.html"title="class in com.mxgraph.util.png">mxPngEncodeParam</A></DL>
<THALIGN="left"><B>Nested classes/interfaces inherited from class com.mxgraph.util.png.<AHREF="../../../../com/mxgraph/util/png/mxPngEncodeParam.html"title="class in com.mxgraph.util.png">mxPngEncodeParam</A></B></TH>
</TR>
<TRBGCOLOR="white"CLASS="TableRowColor">
<TD><CODE><AHREF="../../../../com/mxgraph/util/png/mxPngEncodeParam.Gray.html"title="class in com.mxgraph.util.png">mxPngEncodeParam.Gray</A>, <AHREF="../../../../com/mxgraph/util/png/mxPngEncodeParam.Palette.html"title="class in com.mxgraph.util.png">mxPngEncodeParam.Palette</A>, <AHREF="../../../../com/mxgraph/util/png/mxPngEncodeParam.RGB.html"title="class in com.mxgraph.util.png">mxPngEncodeParam.RGB</A></CODE></TD>
<THALIGN="left"><B>Fields inherited from class com.mxgraph.util.png.<AHREF="../../../../com/mxgraph/util/png/mxPngEncodeParam.html"title="class in com.mxgraph.util.png">mxPngEncodeParam</A></B></TH>
<THALIGN="left"><B>Methods inherited from class com.mxgraph.util.png.<AHREF="../../../../com/mxgraph/util/png/mxPngEncodeParam.html"title="class in com.mxgraph.util.png">mxPngEncodeParam</A></B></TH>
<THALIGN="left"><B>Methods inherited from class java.lang.<AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</A></B></TH>
</TR>
<TRBGCOLOR="white"CLASS="TableRowColor">
<TD><CODE><AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#clone()"title="class or interface in java.lang">clone</A>, <AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#equals(java.lang.Object)"title="class or interface in java.lang">equals</A>, <AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#finalize()"title="class or interface in java.lang">finalize</A>, <AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#getClass()"title="class or interface in java.lang">getClass</A>, <AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#hashCode()"title="class or interface in java.lang">hashCode</A>, <AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#notify()"title="class or interface in java.lang">notify</A>, <AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#notifyAll()"title="class or interface in java.lang">notifyAll</A>, <AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#toString()"title="class or interface in java.lang">toString</A>, <AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#wait()"title="class or interface in java.lang">wait</A>, <AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#wait(long)"title="class or interface in java.lang">wait</A>, <AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#wait(long, int)"title="class or interface in java.lang">wait</A></CODE></TD>
<DD>Suppresses the 'bKGD' chunk from being output.
<P>
<DD><DL>
<DT><B>Overrides:</B><DD><CODE><AHREF="../../../../com/mxgraph/util/png/mxPngEncodeParam.html#unsetBackground()">unsetBackground</A></CODE> in class <CODE><AHREF="../../../../com/mxgraph/util/png/mxPngEncodeParam.html"title="class in com.mxgraph.util.png">mxPngEncodeParam</A></CODE></DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<ANAME="isBackgroundSet()"><!----></A><H3>
isBackgroundSet</H3>
<PRE>
public boolean <B>isBackgroundSet</B>()</PRE>
<DL>
<DD>Returns true if a 'bKGD' chunk will be output.
<P>
<DD><DL>
<DT><B>Overrides:</B><DD><CODE><AHREF="../../../../com/mxgraph/util/png/mxPngEncodeParam.html#isBackgroundSet()">isBackgroundSet</A></CODE> in class <CODE><AHREF="../../../../com/mxgraph/util/png/mxPngEncodeParam.html"title="class in com.mxgraph.util.png">mxPngEncodeParam</A></CODE></DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<ANAME="setBitDepth(int)"><!----></A><H3>
setBitDepth</H3>
<PRE>
public void <B>setBitDepth</B>(int bitDepth)</PRE>
<DL>
<DD>Sets the desired bit depth for an RGB image. The bit
depth must be 8 or 16.
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><AHREF="../../../../com/mxgraph/util/png/mxPngEncodeParam.html#setBitDepth(int)">setBitDepth</A></CODE> in class <CODE><AHREF="../../../../com/mxgraph/util/png/mxPngEncodeParam.html"title="class in com.mxgraph.util.png">mxPngEncodeParam</A></CODE></DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<ANAME="setBackgroundRGB(int[])"><!----></A><H3>
setBackgroundRGB</H3>
<PRE>
public void <B>setBackgroundRGB</B>(int[] rgb)</PRE>
<DL>
<DD>Sets the RGB value of the suggested background color.
The <code>rgb</code> parameter should have 3 entries.
<p> The 'bKGD' chunk will encode this information.
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<ANAME="getBackgroundRGB()"><!----></A><H3>
getBackgroundRGB</H3>
<PRE>
public int[] <B>getBackgroundRGB</B>()</PRE>
<DL>
<DD>Returns the RGB value of the suggested background color.
<p> If the background color has not previously been set, or has been
unset, an <code>IllegalStateException</code> will be thrown.
<P>
<DD><DL>
<DT><B>Throws:</B>
<DD><CODE><AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/IllegalStateException.html?is-external=true"title="class or interface in java.lang">IllegalStateException</A></CODE> - if the background color is not set.</DL>
</DD>
</DL>
<HR>
<ANAME="setTransparentRGB(int[])"><!----></A><H3>
setTransparentRGB</H3>
<PRE>
public void <B>setTransparentRGB</B>(int[] transparentRGB)</PRE>
<DL>
<DD>Sets the RGB value to be used to denote transparency.
<p> Setting this attribute will cause the alpha channel
of the input image to be ignored.
<p> The 'tRNS' chunk will encode this information.
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<ANAME="getTransparentRGB()"><!----></A><H3>
getTransparentRGB</H3>
<PRE>
public int[] <B>getTransparentRGB</B>()</PRE>
<DL>
<DD>Returns the RGB value to be used to denote transparency.
<p> If the transparent color has not previously been set,
or has been unset, an <code>IllegalStateException</code>
will be thrown.
<P>
<DD><DL>
<DT><B>Throws:</B>
<DD><CODE><AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/IllegalStateException.html?is-external=true"title="class or interface in java.lang">IllegalStateException</A></CODE> - if the transparent color is not set.</DL>