<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="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>
<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>
<pre>protected <ahref="../../../com/mxgraph/canvas/mxGraphics2DCanvas.html"title="class in com.mxgraph.canvas">mxGraphics2DCanvas</a> canvas</pre>
<pre>public mxImageCanvas(<ahref="../../../com/mxgraph/canvas/mxGraphics2DCanvas.html"title="class in com.mxgraph.canvas">mxGraphics2DCanvas</a> canvas,
<pre>public <ahref="../../../com/mxgraph/canvas/mxGraphics2DCanvas.html"title="class in com.mxgraph.canvas">mxGraphics2DCanvas</a> getGraphicsCanvas()</pre>
<pre>public java.lang.Object 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>
<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>
<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>