<dd><ahref="../../../com/mxgraph/canvas/mxBasicCanvas.html"title="class in com.mxgraph.canvas">mxBasicCanvas</a>, <ahref="../../../com/mxgraph/canvas/mxGraphics2DCanvas.html"title="class in com.mxgraph.canvas">mxGraphics2DCanvas</a>, <ahref="../../../com/mxgraph/canvas/mxHtmlCanvas.html"title="class in com.mxgraph.canvas">mxHtmlCanvas</a>, <ahref="../../../com/mxgraph/canvas/mxImageCanvas.html"title="class in com.mxgraph.canvas">mxImageCanvas</a>, <ahref="../../../com/mxgraph/swing/view/mxInteractiveCanvas.html"title="class in com.mxgraph.swing.view">mxInteractiveCanvas</a>, <ahref="../../../com/mxgraph/canvas/mxSvgCanvas.html"title="class in com.mxgraph.canvas">mxSvgCanvas</a>, <ahref="../../../com/mxgraph/canvas/mxVmlCanvas.html"title="class in com.mxgraph.canvas">mxVmlCanvas</a></dd>
<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/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/mxICanvas.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="rowColor">
<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/mxICanvas.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> text,
<ahref="../../../com/mxgraph/view/mxCellState.html"title="class in com.mxgraph.view">mxCellState</a> state,
<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>
<divclass="block">Sets the translation for the following drawing requests.</div>
</li>
</ul>
<aname="getTranslate()">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>getTranslate</h4>
<pre><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">Returns the current translation.</div>
<dl><dt><spanclass="strong">Returns:</span></dt><dd>Returns the current translation.</dd></dl>
</li>
</ul>
<aname="setScale(double)">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>setScale</h4>
<pre>void setScale(double scale)</pre>
<divclass="block">Sets the scale for the following drawing requests.</div>
</li>
</ul>
<aname="getScale()">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>getScale</h4>
<pre>double getScale()</pre>
<divclass="block">Returns the scale.</div>
</li>
</ul>
<aname="drawCell(com.mxgraph.view.mxCellState)">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>drawCell</h4>
<pre><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">Draws the given cell.</div>
<dl><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><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> text,
<ahref="../../../com/mxgraph/view/mxCellState.html"title="class in com.mxgraph.view">mxCellState</a> state,
boolean html)</pre>
<divclass="block">Draws the given label.</div>
<dl><dt><spanclass="strong">Parameters:</span></dt><dd><code>text</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>