<li><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></li>
<li>
<ulclass="inheritance">
<li>com.mxgraph.canvas.mxImageCanvas</li>
</ul>
</li>
</ul>
<divclass="description">
<ulclass="blockList">
<liclass="blockList">
<dl>
<dt>All Implemented Interfaces:</dt>
<dd><ahref="../../../com/mxgraph/canvas/mxICanvas.html"title="interface in com.mxgraph.canvas">mxICanvas</a></dd>
</dl>
<hr>
<br>
<pre>public class <spanclass="strong">mxImageCanvas</span>
extends <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>
implements <ahref="../../../com/mxgraph/canvas/mxICanvas.html"title="interface in com.mxgraph.canvas">mxICanvas</a></pre>
<divclass="block">An implementation of a canvas that uses Graphics2D for painting. To use an
<thclass="colFirst"scope="col">Modifier and Type</th>
<thclass="colLast"scope="col">Field and Description</th>
</tr>
<trclass="altColor">
<tdclass="colFirst"><code>protected <ahref="../../../com/mxgraph/canvas/mxGraphics2DCanvas.html"title="class in com.mxgraph.canvas">mxGraphics2DCanvas</a></code></td>
<tdclass="colFirst"><code>protected <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/awt/image/BufferedImage.html?is-external=true"title="class or interface in java.awt.image">BufferedImage</a></code></td>
<tdclass="colFirst"><code>protected <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/awt/Graphics2D.html?is-external=true"title="class or interface in java.awt">Graphics2D</a></code></td>
<thclass="colOne"scope="col">Constructor and Description</th>
</tr>
<trclass="altColor">
<tdclass="colOne"><code><strong><ahref="../../../com/mxgraph/canvas/mxImageCanvas.html#mxImageCanvas(com.mxgraph.canvas.mxGraphics2DCanvas, int, int, java.awt.Color, boolean)">mxImageCanvas</a></strong>(<ahref="../../../com/mxgraph/canvas/mxGraphics2DCanvas.html"title="class in com.mxgraph.canvas">mxGraphics2DCanvas</a> canvas,
int width,
int height,
<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/awt/Color.html?is-external=true"title="class or interface in java.awt">Color</a> background,
<thclass="colFirst"scope="col">Modifier and Type</th>
<thclass="colLast"scope="col">Method and Description</th>
</tr>
<trclass="altColor">
<tdclass="colFirst"><code><ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/awt/image/BufferedImage.html?is-external=true"title="class or interface in java.awt.image">BufferedImage</a></code></td>
<tdclass="colFirst"><code><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></code></td>
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/canvas/mxImageCanvas.html#drawCell(com.mxgraph.view.mxCellState)">drawCell</a></strong>(<ahref="../../../com/mxgraph/view/mxCellState.html"title="class in com.mxgraph.view">mxCellState</a> state)</code>
<divclass="block">Draws the given cell.</div>
</td>
</tr>
<trclass="altColor">
<tdclass="colFirst"><code><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></code></td>
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/canvas/mxImageCanvas.html#drawLabel(java.lang.String, com.mxgraph.view.mxCellState, boolean)">drawLabel</a></strong>(<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a> label,
<ahref="../../../com/mxgraph/view/mxCellState.html"title="class in com.mxgraph.view">mxCellState</a> state,
boolean html)</code>
<divclass="block">Draws the given label.</div>
</td>
</tr>
<trclass="rowColor">
<tdclass="colFirst"><code><ahref="../../../com/mxgraph/canvas/mxGraphics2DCanvas.html"title="class in com.mxgraph.canvas">mxGraphics2DCanvas</a></code></td>
<tdclass="colFirst"><code><ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/awt/image/BufferedImage.html?is-external=true"title="class or interface in java.awt.image">BufferedImage</a></code></td>
<tdclass="colFirst"><code><ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/awt/Point.html?is-external=true"title="class or interface in java.awt">Point</a></code></td>
<h3>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></h3>
<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></li>
<pre>protected <ahref="../../../com/mxgraph/canvas/mxGraphics2DCanvas.html"title="class in com.mxgraph.canvas">mxGraphics2DCanvas</a> canvas</pre>
</li>
</ul>
<aname="previousGraphics">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>previousGraphics</h4>
<pre>protected <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/awt/Graphics2D.html?is-external=true"title="class or interface in java.awt">Graphics2D</a> previousGraphics</pre>
</li>
</ul>
<aname="image">
<!---->
</a>
<ulclass="blockListLast">
<liclass="blockList">
<h4>image</h4>
<pre>protected <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/awt/image/BufferedImage.html?is-external=true"title="class or interface in java.awt.image">BufferedImage</a> image</pre>
<pre>public mxImageCanvas(<ahref="../../../com/mxgraph/canvas/mxGraphics2DCanvas.html"title="class in com.mxgraph.canvas">mxGraphics2DCanvas</a> canvas,
int width,
int height,
<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/awt/Color.html?is-external=true"title="class or interface in java.awt">Color</a> background,
<pre>public <ahref="../../../com/mxgraph/canvas/mxGraphics2DCanvas.html"title="class in com.mxgraph.canvas">mxGraphics2DCanvas</a> getGraphicsCanvas()</pre>
</li>
</ul>
<aname="getImage()">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>getImage</h4>
<pre>public <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/awt/image/BufferedImage.html?is-external=true"title="class or interface in java.awt.image">BufferedImage</a> getImage()</pre>
</li>
</ul>
<aname="drawCell(com.mxgraph.view.mxCellState)">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>drawCell</h4>
<pre>public <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> drawCell(<ahref="../../../com/mxgraph/view/mxCellState.html"title="class in com.mxgraph.view">mxCellState</a> state)</pre>
<divclass="block"><strong>Description copied from interface: <code><ahref="../../../com/mxgraph/canvas/mxICanvas.html#drawCell(com.mxgraph.view.mxCellState)">mxICanvas</a></code></strong></div>
<divclass="block">Draws the given cell.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><ahref="../../../com/mxgraph/canvas/mxICanvas.html#drawCell(com.mxgraph.view.mxCellState)">drawCell</a></code> in interface <code><ahref="../../../com/mxgraph/canvas/mxICanvas.html"title="interface in com.mxgraph.canvas">mxICanvas</a></code></dd>
<dt><spanclass="strong">Parameters:</span></dt><dd><code>state</code> - State of the cell to be painted.</dd>
<dt><spanclass="strong">Returns:</span></dt><dd>Object that represents the cell.</dd></dl>
<pre>public <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> drawLabel(<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a> label,
<ahref="../../../com/mxgraph/view/mxCellState.html"title="class in com.mxgraph.view">mxCellState</a> state,
boolean html)</pre>
<divclass="block"><strong>Description copied from interface: <code><ahref="../../../com/mxgraph/canvas/mxICanvas.html#drawLabel(java.lang.String, com.mxgraph.view.mxCellState, boolean)">mxICanvas</a></code></strong></div>
<divclass="block">Draws the given label.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><ahref="../../../com/mxgraph/canvas/mxICanvas.html#drawLabel(java.lang.String, com.mxgraph.view.mxCellState, boolean)">drawLabel</a></code> in interface <code><ahref="../../../com/mxgraph/canvas/mxICanvas.html"title="interface in com.mxgraph.canvas">mxICanvas</a></code></dd>
<dt><spanclass="strong">Parameters:</span></dt><dd><code>label</code> - String that represents the label.</dd><dd><code>state</code> - State of the cell whose label is to be painted.</dd><dd><code>html</code> - Specifies if the label contains HTML markup.</dd>
<dt><spanclass="strong">Returns:</span></dt><dd>Object that represents the label.</dd></dl>
</li>
</ul>
<aname="getScale()">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>getScale</h4>
<pre>public double getScale()</pre>
<divclass="block"><strong>Description copied from interface: <code><ahref="../../../com/mxgraph/canvas/mxICanvas.html#getScale()">mxICanvas</a></code></strong></div>
<divclass="block">Returns the scale.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><ahref="../../../com/mxgraph/canvas/mxICanvas.html#getScale()">getScale</a></code> in interface <code><ahref="../../../com/mxgraph/canvas/mxICanvas.html"title="interface in com.mxgraph.canvas">mxICanvas</a></code></dd>
</dl>
</li>
</ul>
<aname="getTranslate()">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>getTranslate</h4>
<pre>public <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/awt/Point.html?is-external=true"title="class or interface in java.awt">Point</a> getTranslate()</pre>
<divclass="block"><strong>Description copied from interface: <code><ahref="../../../com/mxgraph/canvas/mxICanvas.html#getTranslate()">mxICanvas</a></code></strong></div>
<divclass="block">Returns the current translation.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><ahref="../../../com/mxgraph/canvas/mxICanvas.html#getTranslate()">getTranslate</a></code> in interface <code><ahref="../../../com/mxgraph/canvas/mxICanvas.html"title="interface in com.mxgraph.canvas">mxICanvas</a></code></dd>
<dt><spanclass="strong">Returns:</span></dt><dd>Returns the current translation.</dd></dl>
<divclass="block"><strong>Description copied from interface: <code><ahref="../../../com/mxgraph/canvas/mxICanvas.html#setScale(double)">mxICanvas</a></code></strong></div>
<divclass="block">Sets the scale for the following drawing requests.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><ahref="../../../com/mxgraph/canvas/mxICanvas.html#setScale(double)">setScale</a></code> in interface <code><ahref="../../../com/mxgraph/canvas/mxICanvas.html"title="interface in com.mxgraph.canvas">mxICanvas</a></code></dd>
<divclass="block"><strong>Description copied from interface: <code><ahref="../../../com/mxgraph/canvas/mxICanvas.html#setTranslate(int, int)">mxICanvas</a></code></strong></div>
<divclass="block">Sets the translation for the following drawing requests.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><ahref="../../../com/mxgraph/canvas/mxICanvas.html#setTranslate(int, int)">setTranslate</a></code> in interface <code><ahref="../../../com/mxgraph/canvas/mxICanvas.html"title="interface in com.mxgraph.canvas">mxICanvas</a></code></dd>
</dl>
</li>
</ul>
<aname="destroy()">
<!---->
</a>
<ulclass="blockListLast">
<liclass="blockList">
<h4>destroy</h4>
<pre>public <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/awt/image/BufferedImage.html?is-external=true"title="class or interface in java.awt.image">BufferedImage</a> destroy()</pre>