<li><ahref="../../../com/mxgraph/canvas/mxGraphics2DCanvas.html"title="class in com.mxgraph.canvas"><spanclass="strong">Prev Class</span></a></li>
<li><ahref="../../../com/mxgraph/canvas/mxGraphicsCanvas2D.CanvasState.html"title="class in com.mxgraph.canvas"><spanclass="strong">Next Class</span></a></li>
<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>
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>
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/canvas/mxGraphicsCanvas2D.CanvasState.html"title="class in com.mxgraph.canvas">mxGraphicsCanvas2D.CanvasState</a></strong></code> </td>
</tr>
</table>
</li>
</ul>
<!-- =========== FIELD SUMMARY =========== -->
<ulclass="blockList">
<liclass="blockList"><aname="field_summary">
<!---->
</a>
<h3>Field Summary</h3>
<tableclass="overviewSummary"border="0"cellpadding="3"cellspacing="0"summary="Field Summary table, listing fields, and an explanation">
<tdclass="colFirst"><code>protected <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/util/LinkedHashMap.html?is-external=true"title="class or interface in java.util">LinkedHashMap</a><<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>,<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>></code></td>
<tdclass="colFirst"><code>protected <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/awt/geom/GeneralPath.html?is-external=true"title="class or interface in java.awt.geom">GeneralPath</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>
<tdclass="colFirst"><code>protected <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="colFirst"><code>protected <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/awt/Font.html?is-external=true"title="class or interface in java.awt">Font</a></code></td>
<tdclass="colFirst"><code>protected <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></code></td>
<tdclass="colFirst"><code>protected <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/awt/Stroke.html?is-external=true"title="class or interface in java.awt">Stroke</a></code></td>
<tdclass="colFirst"><code>protected <ahref="http://download.oracle.com/javase/1.5.0/docs/api/javax/swing/CellRendererPane.html?is-external=true"title="class or interface in javax.swing">CellRendererPane</a></code></td>
<tdclass="colFirst"><code>protected <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/util/Stack.html?is-external=true"title="class or interface in java.util">Stack</a><<ahref="../../../com/mxgraph/canvas/mxGraphicsCanvas2D.CanvasState.html"title="class in com.mxgraph.canvas">mxGraphicsCanvas2D.CanvasState</a>></code></td>
<tdclass="colFirst"><code>protected <ahref="../../../com/mxgraph/canvas/mxGraphicsCanvas2D.CanvasState.html"title="class in com.mxgraph.canvas">mxGraphicsCanvas2D.CanvasState</a></code></td>
<tdclass="colOne"><code><strong><ahref="../../../com/mxgraph/canvas/mxGraphicsCanvas2D.html#mxGraphicsCanvas2D(java.awt.Graphics2D)">mxGraphicsCanvas2D</a></strong>(<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> g)</code>
<tdclass="colFirst"><code>protected <ahref="../../../com/mxgraph/canvas/mxGraphicsCanvas2D.CanvasState.html"title="class in com.mxgraph.canvas">mxGraphicsCanvas2D.CanvasState</a></code></td>
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/canvas/mxGraphicsCanvas2D.html#cloneState(com.mxgraph.canvas.mxGraphicsCanvas2D.CanvasState)">cloneState</a></strong>(<ahref="../../../com/mxgraph/canvas/mxGraphicsCanvas2D.CanvasState.html"title="class in com.mxgraph.canvas">mxGraphicsCanvas2D.CanvasState</a> state)</code>
<divclass="block">Returns a clone of thec given state.</div>
<tdclass="colFirst"><code>protected <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/awt/Font.html?is-external=true"title="class or interface in java.awt">Font</a></code></td>
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/canvas/mxGraphicsCanvas2D.html#createFont(java.lang.String, int, int)">createFont</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> family,
<tdclass="colFirst"><code>protected <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></code></td>
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/canvas/mxGraphicsCanvas2D.html#createHtmlDocument(java.lang.String, java.lang.String)">createHtmlDocument</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="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> style)</code>
<divclass="block">Creates a HTML document for the given text and CSS style.</div>
</td>
</tr>
<trclass="rowColor">
<tdclass="colFirst"><code>protected <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></code></td>
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/canvas/mxGraphicsCanvas2D.html#createHtmlDocument(java.lang.String, java.lang.String, java.lang.String, int, int, boolean, java.lang.String, boolean)">createHtmlDocument</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="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> align,
<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> valign,
<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> overflow,
<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>
<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>
<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> align,
<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> valign)</code>
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/canvas/mxGraphicsCanvas2D.html#drawImage(java.awt.Graphics2D, java.awt.Image, int, int)">drawImage</a></strong>(<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> graphics,
<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/awt/Image.html?is-external=true"title="class or interface in java.awt">Image</a> image,
<tdclass="colFirst"><code>protected <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></code></td>
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/canvas/mxGraphicsCanvas2D.html#getFontName(java.lang.String)">getFontName</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> family)</code>
<tdclass="colFirst"><code><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>
<tdclass="colFirst"><code>protected <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/awt/Rectangle.html?is-external=true"title="class or interface in java.awt">Rectangle</a></code></td>
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/canvas/mxGraphicsCanvas2D.html#getImageBounds(java.awt.Image, double, double, double, double, boolean)">getImageBounds</a></strong>(<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/awt/Image.html?is-external=true"title="class or interface in java.awt">Image</a> img,
<tdclass="colFirst"><code>protected <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/awt/Dimension.html?is-external=true"title="class or interface in java.awt">Dimension</a></code></td>
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/canvas/mxGraphicsCanvas2D.html#getImageSize(java.awt.Image)">getImageSize</a></strong>(<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/awt/Image.html?is-external=true"title="class or interface in java.awt">Image</a> image)</code>
<tdclass="colFirst"><code>protected <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/awt/geom/Point2D.html?is-external=true"title="class or interface in java.awt.geom">Point2D</a></code></td>
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/canvas/mxGraphicsCanvas2D.html#getMargin(java.lang.String, java.lang.String)">getMargin</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> align,
<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> valign)</code> </td>
<tdclass="colFirst"><code>protected <ahref="http://download.oracle.com/javase/1.5.0/docs/api/javax/swing/JLabel.html?is-external=true"title="class or interface in javax.swing">JLabel</a></code></td>
<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> str,
<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> align,
<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> valign,
<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> format,
<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> overflow,
<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> src,
<tdclass="colFirst"><code>protected <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/awt/Image.html?is-external=true"title="class or interface in java.awt">Image</a></code></td>
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/canvas/mxGraphicsCanvas2D.html#loadImage(java.lang.String)">loadImage</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> src)</code>
<tdclass="colFirst"><code>protected <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></code></td>
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/canvas/mxGraphicsCanvas2D.html#parseColor(java.lang.String)">parseColor</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> hex)</code>
<divclass="block">Helper method that uses <ahref="../../../com/mxgraph/util/mxUtils.html#parseColor(java.lang.String)"><code>mxUtils.parseColor(String)</code></a>.</div>
<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> str,
<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> align,
<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> valign,
<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> format,
<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> overflow,
<tdclass="colFirst"><code>protected <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/awt/Image.html?is-external=true"title="class or interface in java.awt">Image</a></code></td>
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/canvas/mxGraphicsCanvas2D.html#scaleImage(java.awt.Image, int, int)">scaleImage</a></strong>(<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/awt/Image.html?is-external=true"title="class or interface in java.awt">Image</a> img,
<divclass="block">Uses <ahref="../../../com/mxgraph/canvas/mxGraphicsCanvas2D.html#IMAGE_SCALING"><code>IMAGE_SCALING</code></a> to scale the given image.</div>
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/canvas/mxGraphicsCanvas2D.html#setDashPattern(java.lang.String)">setDashPattern</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> value)</code>
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/canvas/mxGraphicsCanvas2D.html#setFillColor(java.lang.String)">setFillColor</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> value)</code>
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/canvas/mxGraphicsCanvas2D.html#setFontBackgroundColor(java.lang.String)">setFontBackgroundColor</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> value)</code>
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/canvas/mxGraphicsCanvas2D.html#setFontBorderColor(java.lang.String)">setFontBorderColor</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> value)</code>
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/canvas/mxGraphicsCanvas2D.html#setFontColor(java.lang.String)">setFontColor</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> value)</code>
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/canvas/mxGraphicsCanvas2D.html#setFontFamily(java.lang.String)">setFontFamily</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> value)</code>
<divclass="block">Default value <ahref="../../../com/mxgraph/util/mxConstants.html#DEFAULT_FONTFAMILY"><code>mxConstants.DEFAULT_FONTFAMILY</code></a>.</div>
<divclass="block">Default value <ahref="../../../com/mxgraph/util/mxConstants.html#DEFAULT_FONTSIZE"><code>mxConstants.DEFAULT_FONTSIZE</code></a>.</div>
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/canvas/mxGraphicsCanvas2D.html#setGradient(java.lang.String, java.lang.String, double, double, double, double, java.lang.String, double, double)">setGradient</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> color1,
<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> color2,
<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> direction,
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/canvas/mxGraphicsCanvas2D.html#setGraphics(java.awt.Graphics2D)">setGraphics</a></strong>(<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> value)</code>
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/canvas/mxGraphicsCanvas2D.html#setLineCap(java.lang.String)">setLineCap</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> value)</code>
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/canvas/mxGraphicsCanvas2D.html#setLineJoin(java.lang.String)">setLineJoin</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> value)</code>
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/canvas/mxGraphicsCanvas2D.html#setShadowColor(java.lang.String)">setShadowColor</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> value)</code>
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/canvas/mxGraphicsCanvas2D.html#setStrokeColor(java.lang.String)">setStrokeColor</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> value)</code>
<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> str,
<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> align,
<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> valign,
<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> format,
<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> overflow,
<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="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> graphics</pre>
<divclass="block">Reference to the graphics instance for painting.</div>
</li>
</ul>
<aname="textEnabled">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>textEnabled</h4>
<pre>protected boolean textEnabled</pre>
<divclass="block">Specifies if text output should be rendered. Default is true.</div>
</li>
</ul>
<aname="state">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>state</h4>
<pre>protected transient <ahref="../../../com/mxgraph/canvas/mxGraphicsCanvas2D.CanvasState.html"title="class in com.mxgraph.canvas">mxGraphicsCanvas2D.CanvasState</a> state</pre>
<divclass="block">Represents the current state of the canvas.</div>
<pre>protected transient <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/util/Stack.html?is-external=true"title="class or interface in java.util">Stack</a><<ahref="../../../com/mxgraph/canvas/mxGraphicsCanvas2D.CanvasState.html"title="class in com.mxgraph.canvas">mxGraphicsCanvas2D.CanvasState</a>> stack</pre>
<pre>protected transient <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/awt/geom/GeneralPath.html?is-external=true"title="class or interface in java.awt.geom">GeneralPath</a> currentPath</pre>
<pre>protected <ahref="http://download.oracle.com/javase/1.5.0/docs/api/javax/swing/CellRendererPane.html?is-external=true"title="class or interface in javax.swing">CellRendererPane</a> rendererPane</pre>
<pre>protected transient <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/awt/Font.html?is-external=true"title="class or interface in java.awt">Font</a> lastFont</pre>
<pre>protected transient <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> lastFontFamily</pre>
<pre>protected transient <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/awt/Stroke.html?is-external=true"title="class or interface in java.awt">Stroke</a> lastStroke</pre>
<pre>protected transient <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> lastDashPattern</pre>
<pre>protected transient <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/util/LinkedHashMap.html?is-external=true"title="class or interface in java.util">LinkedHashMap</a><<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>,<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>> colorCache</pre>
<pre>public mxGraphicsCanvas2D(<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> g)</pre>
<pre>public void setGraphics(<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> value)</pre>
<pre>public <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> getGraphics()</pre>
<divclass="block">Disables or enables text rendering.</div>
</li>
</ul>
<aname="save()">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>save</h4>
<pre>public void save()</pre>
<divclass="block">Saves the current canvas state.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><ahref="../../../com/mxgraph/canvas/mxICanvas2D.html#save()">save</a></code> in interface <code><ahref="../../../com/mxgraph/canvas/mxICanvas2D.html"title="interface in com.mxgraph.canvas">mxICanvas2D</a></code></dd>
</dl>
</li>
</ul>
<aname="restore()">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>restore</h4>
<pre>public void restore()</pre>
<divclass="block">Restores the last canvas state.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><ahref="../../../com/mxgraph/canvas/mxICanvas2D.html#restore()">restore</a></code> in interface <code><ahref="../../../com/mxgraph/canvas/mxICanvas2D.html"title="interface in com.mxgraph.canvas">mxICanvas2D</a></code></dd>
<pre>protected <ahref="../../../com/mxgraph/canvas/mxGraphicsCanvas2D.CanvasState.html"title="class in com.mxgraph.canvas">mxGraphicsCanvas2D.CanvasState</a> cloneState(<ahref="../../../com/mxgraph/canvas/mxGraphicsCanvas2D.CanvasState.html"title="class in com.mxgraph.canvas">mxGraphicsCanvas2D.CanvasState</a> state)</pre>
<divclass="block">Returns a clone of thec given state.</div>
<divclass="block"><strong>Description copied from interface: <code><ahref="../../../com/mxgraph/canvas/mxICanvas2D.html#scale(double)">mxICanvas2D</a></code></strong></div>
<divclass="block">Uniformaly scales the canvas by the given amount.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><ahref="../../../com/mxgraph/canvas/mxICanvas2D.html#scale(double)">scale</a></code> in interface <code><ahref="../../../com/mxgraph/canvas/mxICanvas2D.html"title="interface in com.mxgraph.canvas">mxICanvas2D</a></code></dd>
<dt><spanclass="strong">Parameters:</span></dt><dd><code>value</code> - The new scale value.</dd></dl>
<divclass="block"><strong>Description copied from interface: <code><ahref="../../../com/mxgraph/canvas/mxICanvas2D.html#translate(double, double)">mxICanvas2D</a></code></strong></div>
<divclass="block">Translates the canvas by the given amount.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><ahref="../../../com/mxgraph/canvas/mxICanvas2D.html#translate(double, double)">translate</a></code> in interface <code><ahref="../../../com/mxgraph/canvas/mxICanvas2D.html"title="interface in com.mxgraph.canvas">mxICanvas2D</a></code></dd>
<dt><spanclass="strong">Parameters:</span></dt><dd><code>dx</code> - X-coordinate of the translation.</dd><dd><code>dy</code> - Y-coordinate of the translation.</dd></dl>
<divclass="block"><strong>Description copied from interface: <code><ahref="../../../com/mxgraph/canvas/mxICanvas2D.html#rotate(double, boolean, boolean, double, double)">mxICanvas2D</a></code></strong></div>
<divclass="block">Rotates the canvas by the given angle around the given center. This
method may add rendering overhead and should be used with care.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><ahref="../../../com/mxgraph/canvas/mxICanvas2D.html#rotate(double, boolean, boolean, double, double)">rotate</a></code> in interface <code><ahref="../../../com/mxgraph/canvas/mxICanvas2D.html"title="interface in com.mxgraph.canvas">mxICanvas2D</a></code></dd>
<dt><spanclass="strong">Parameters:</span></dt><dd><code>theta</code> - Rotation angle in degrees (0 - 360).</dd><dd><code>flipH</code> - Specifies if drawing should be flipped horizontally.</dd><dd><code>flipV</code> - Specifies if drawing should be flipped vertically.</dd><dd><code>cx</code> - X-coordinate of the center point.</dd><dd><code>cy</code> - Y-coordinate of the center point.</dd></dl>
<divclass="block"><strong>Description copied from interface: <code><ahref="../../../com/mxgraph/canvas/mxICanvas2D.html#setStrokeWidth(double)">mxICanvas2D</a></code></strong></div>
<divclass="block">Sets the stroke width. This should default to 1 if unset.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><ahref="../../../com/mxgraph/canvas/mxICanvas2D.html#setStrokeWidth(double)">setStrokeWidth</a></code> in interface <code><ahref="../../../com/mxgraph/canvas/mxICanvas2D.html"title="interface in com.mxgraph.canvas">mxICanvas2D</a></code></dd>
<dt><spanclass="strong">Parameters:</span></dt><dd><code>value</code> - Width of the stroke. The value should be multiplied by the
<pre>public void setStrokeColor(<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> value)</pre>
<divclass="block">Caches color conversion as it is expensive.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><ahref="../../../com/mxgraph/canvas/mxICanvas2D.html#setStrokeColor(java.lang.String)">setStrokeColor</a></code> in interface <code><ahref="../../../com/mxgraph/canvas/mxICanvas2D.html"title="interface in com.mxgraph.canvas">mxICanvas2D</a></code></dd>
<dt><spanclass="strong">Parameters:</span></dt><dd><code>value</code> - Hex representation of the color or <ahref="../../../com/mxgraph/util/mxConstants.html#NONE"><code>mxConstants.NONE</code></a>.</dd></dl>
<divclass="block"><strong>Description copied from interface: <code><ahref="../../../com/mxgraph/canvas/mxICanvas2D.html#setDashed(boolean)">mxICanvas2D</a></code></strong></div>
<divclass="block">Sets the dashed state. This should default to false if unset.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><ahref="../../../com/mxgraph/canvas/mxICanvas2D.html#setDashed(boolean)">setDashed</a></code> in interface <code><ahref="../../../com/mxgraph/canvas/mxICanvas2D.html"title="interface in com.mxgraph.canvas">mxICanvas2D</a></code></dd>
<dt><spanclass="strong">Parameters:</span></dt><dd><code>value</code> - Boolean representing the dashed state.</dd></dl>
<pre>public void setDashPattern(<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> value)</pre>
<divclass="block"><strong>Description copied from interface: <code><ahref="../../../com/mxgraph/canvas/mxICanvas2D.html#setDashPattern(java.lang.String)">mxICanvas2D</a></code></strong></div>
<divclass="block">Sets the dash pattern. This should default to "3 3" if unset.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><ahref="../../../com/mxgraph/canvas/mxICanvas2D.html#setDashPattern(java.lang.String)">setDashPattern</a></code> in interface <code><ahref="../../../com/mxgraph/canvas/mxICanvas2D.html"title="interface in com.mxgraph.canvas">mxICanvas2D</a></code></dd>
<dt><spanclass="strong">Parameters:</span></dt><dd><code>value</code> - Space separated list of floats representing the dash
pattern. The value should be multiplied by the current scale.</dd></dl>
<pre>public void setLineCap(<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> value)</pre>
<divclass="block"><strong>Description copied from interface: <code><ahref="../../../com/mxgraph/canvas/mxICanvas2D.html#setLineCap(java.lang.String)">mxICanvas2D</a></code></strong></div>
<divclass="block">Sets the linecap. This should default to "flat" if unset.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><ahref="../../../com/mxgraph/canvas/mxICanvas2D.html#setLineCap(java.lang.String)">setLineCap</a></code> in interface <code><ahref="../../../com/mxgraph/canvas/mxICanvas2D.html"title="interface in com.mxgraph.canvas">mxICanvas2D</a></code></dd>
<dt><spanclass="strong">Parameters:</span></dt><dd><code>value</code> - "flat", "square" or "round".</dd></dl>
<pre>public void setLineJoin(<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> value)</pre>
<divclass="block"><strong>Description copied from interface: <code><ahref="../../../com/mxgraph/canvas/mxICanvas2D.html#setLineJoin(java.lang.String)">mxICanvas2D</a></code></strong></div>
<divclass="block">Sets the linejoin. This should default to "miter" if unset.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><ahref="../../../com/mxgraph/canvas/mxICanvas2D.html#setLineJoin(java.lang.String)">setLineJoin</a></code> in interface <code><ahref="../../../com/mxgraph/canvas/mxICanvas2D.html"title="interface in com.mxgraph.canvas">mxICanvas2D</a></code></dd>
<dt><spanclass="strong">Parameters:</span></dt><dd><code>value</code> - "miter", "round" or "bevel".</dd></dl>
<divclass="block"><strong>Description copied from interface: <code><ahref="../../../com/mxgraph/canvas/mxICanvas2D.html#setMiterLimit(double)">mxICanvas2D</a></code></strong></div>
<divclass="block">Sets the miterlimit. This should default to 10 if unset.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><ahref="../../../com/mxgraph/canvas/mxICanvas2D.html#setMiterLimit(double)">setMiterLimit</a></code> in interface <code><ahref="../../../com/mxgraph/canvas/mxICanvas2D.html"title="interface in com.mxgraph.canvas">mxICanvas2D</a></code></dd>
<divclass="block"><strong>Description copied from interface: <code><ahref="../../../com/mxgraph/canvas/mxICanvas2D.html#setFontSize(double)">mxICanvas2D</a></code></strong></div>
<divclass="block">Default value <ahref="../../../com/mxgraph/util/mxConstants.html#DEFAULT_FONTSIZE"><code>mxConstants.DEFAULT_FONTSIZE</code></a>.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><ahref="../../../com/mxgraph/canvas/mxICanvas2D.html#setFontSize(double)">setFontSize</a></code> in interface <code><ahref="../../../com/mxgraph/canvas/mxICanvas2D.html"title="interface in com.mxgraph.canvas">mxICanvas2D</a></code></dd>
<pre>public void setFontColor(<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> value)</pre>
<divclass="block"><strong>Description copied from interface: <code><ahref="../../../com/mxgraph/canvas/mxICanvas2D.html#setFontColor(java.lang.String)">mxICanvas2D</a></code></strong></div>
<divclass="block">Default value "#000000".</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><ahref="../../../com/mxgraph/canvas/mxICanvas2D.html#setFontColor(java.lang.String)">setFontColor</a></code> in interface <code><ahref="../../../com/mxgraph/canvas/mxICanvas2D.html"title="interface in com.mxgraph.canvas">mxICanvas2D</a></code></dd>
<dt><spanclass="strong">Parameters:</span></dt><dd><code>value</code> - Hex representation of the color or <ahref="../../../com/mxgraph/util/mxConstants.html#NONE"><code>mxConstants.NONE</code></a>.</dd></dl>
<pre>public void setFontBackgroundColor(<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> value)</pre>
<divclass="block"><strong>Description copied from interface: <code><ahref="../../../com/mxgraph/canvas/mxICanvas2D.html#setFontBackgroundColor(java.lang.String)">mxICanvas2D</a></code></strong></div>
<divclass="block">Default value "#000000".</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><ahref="../../../com/mxgraph/canvas/mxICanvas2D.html#setFontBackgroundColor(java.lang.String)">setFontBackgroundColor</a></code> in interface <code><ahref="../../../com/mxgraph/canvas/mxICanvas2D.html"title="interface in com.mxgraph.canvas">mxICanvas2D</a></code></dd>
<dt><spanclass="strong">Parameters:</span></dt><dd><code>value</code> - Hex representation of the color or <ahref="../../../com/mxgraph/util/mxConstants.html#NONE"><code>mxConstants.NONE</code></a>.</dd></dl>
<pre>public void setFontBorderColor(<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> value)</pre>
<divclass="block"><strong>Description copied from interface: <code><ahref="../../../com/mxgraph/canvas/mxICanvas2D.html#setFontBorderColor(java.lang.String)">mxICanvas2D</a></code></strong></div>
<divclass="block">Default value "#000000".</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><ahref="../../../com/mxgraph/canvas/mxICanvas2D.html#setFontBorderColor(java.lang.String)">setFontBorderColor</a></code> in interface <code><ahref="../../../com/mxgraph/canvas/mxICanvas2D.html"title="interface in com.mxgraph.canvas">mxICanvas2D</a></code></dd>
<dt><spanclass="strong">Parameters:</span></dt><dd><code>value</code> - Hex representation of the color or <ahref="../../../com/mxgraph/util/mxConstants.html#NONE"><code>mxConstants.NONE</code></a>.</dd></dl>
<pre>public void setFontFamily(<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> value)</pre>
<divclass="block"><strong>Description copied from interface: <code><ahref="../../../com/mxgraph/canvas/mxICanvas2D.html#setFontFamily(java.lang.String)">mxICanvas2D</a></code></strong></div>
<divclass="block">Default value <ahref="../../../com/mxgraph/util/mxConstants.html#DEFAULT_FONTFAMILY"><code>mxConstants.DEFAULT_FONTFAMILY</code></a>.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><ahref="../../../com/mxgraph/canvas/mxICanvas2D.html#setFontFamily(java.lang.String)">setFontFamily</a></code> in interface <code><ahref="../../../com/mxgraph/canvas/mxICanvas2D.html"title="interface in com.mxgraph.canvas">mxICanvas2D</a></code></dd>
<divclass="block"><strong>Description copied from interface: <code><ahref="../../../com/mxgraph/canvas/mxICanvas2D.html#setFontStyle(int)">mxICanvas2D</a></code></strong></div>
<divclass="block">Default value 0. See <ahref="../../../com/mxgraph/util/mxConstants.html#STYLE_FONTSTYLE"><code>mxConstants.STYLE_FONTSTYLE</code></a>.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><ahref="../../../com/mxgraph/canvas/mxICanvas2D.html#setFontStyle(int)">setFontStyle</a></code> in interface <code><ahref="../../../com/mxgraph/canvas/mxICanvas2D.html"title="interface in com.mxgraph.canvas">mxICanvas2D</a></code></dd>
<divclass="block"><strong>Description copied from interface: <code><ahref="../../../com/mxgraph/canvas/mxICanvas2D.html#setAlpha(double)">mxICanvas2D</a></code></strong></div>
<divclass="block">Default value 1. This method may add rendering overhead and should be
used with care.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><ahref="../../../com/mxgraph/canvas/mxICanvas2D.html#setAlpha(double)">setAlpha</a></code> in interface <code><ahref="../../../com/mxgraph/canvas/mxICanvas2D.html"title="interface in com.mxgraph.canvas">mxICanvas2D</a></code></dd>
<pre>public void setFillColor(<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> value)</pre>
<divclass="block"><strong>Description copied from interface: <code><ahref="../../../com/mxgraph/canvas/mxICanvas2D.html#setFillColor(java.lang.String)">mxICanvas2D</a></code></strong></div>
<divclass="block">Default value <ahref="../../../com/mxgraph/util/mxConstants.html#NONE"><code>mxConstants.NONE</code></a>.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><ahref="../../../com/mxgraph/canvas/mxICanvas2D.html#setFillColor(java.lang.String)">setFillColor</a></code> in interface <code><ahref="../../../com/mxgraph/canvas/mxICanvas2D.html"title="interface in com.mxgraph.canvas">mxICanvas2D</a></code></dd>
<dt><spanclass="strong">Parameters:</span></dt><dd><code>value</code> - Hex representation of the color or <ahref="../../../com/mxgraph/util/mxConstants.html#NONE"><code>mxConstants.NONE</code></a>.</dd></dl>
<pre>public void setGradient(<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> color1,
<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> color2,
<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> direction,
<pre>protected <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> parseColor(<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> hex)</pre>
<divclass="block">Helper method that uses <ahref="../../../com/mxgraph/util/mxUtils.html#parseColor(java.lang.String)"><code>mxUtils.parseColor(String)</code></a>.</div>
</li>
</ul>
<aname="rect(double, double, double, double)">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>rect</h4>
<pre>public void rect(double x,
double y,
double w,
double h)</pre>
<divclass="block"><strong>Description copied from interface: <code><ahref="../../../com/mxgraph/canvas/mxICanvas2D.html#rect(double, double, double, double)">mxICanvas2D</a></code></strong></div>
<divclass="block">Next fill or stroke should draw a rectangle.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><ahref="../../../com/mxgraph/canvas/mxICanvas2D.html#rect(double, double, double, double)">rect</a></code> in interface <code><ahref="../../../com/mxgraph/canvas/mxICanvas2D.html"title="interface in com.mxgraph.canvas">mxICanvas2D</a></code></dd>
<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> src,
<pre>protected void drawImage(<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> graphics,
<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/awt/Image.html?is-external=true"title="class or interface in java.awt">Image</a> image,
<pre>protected <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/awt/Image.html?is-external=true"title="class or interface in java.awt">Image</a> loadImage(<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> src)</pre>
<pre>protected final <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/awt/Rectangle.html?is-external=true"title="class or interface in java.awt">Rectangle</a> getImageBounds(<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/awt/Image.html?is-external=true"title="class or interface in java.awt">Image</a> img,
<pre>protected <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/awt/Dimension.html?is-external=true"title="class or interface in java.awt">Dimension</a> getImageSize(<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/awt/Image.html?is-external=true"title="class or interface in java.awt">Image</a> image)</pre>
<pre>protected <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/awt/Image.html?is-external=true"title="class or interface in java.awt">Image</a> scaleImage(<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/awt/Image.html?is-external=true"title="class or interface in java.awt">Image</a> img,
<divclass="block">Uses <ahref="../../../com/mxgraph/canvas/mxGraphicsCanvas2D.html#IMAGE_SCALING"><code>IMAGE_SCALING</code></a> to scale the given image.</div>
<pre>protected final <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> createImageGraphics(double x,
<pre>protected <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> createHtmlDocument(<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="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> align,
<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> valign,
int w,
int h,
boolean wrap,
<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> overflow,
<pre>protected <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> createHtmlDocument(<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="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> style)</pre>
<divclass="block">Creates a HTML document for the given text and CSS style.</div>
<pre>protected <ahref="http://download.oracle.com/javase/1.5.0/docs/api/javax/swing/JLabel.html?is-external=true"title="class or interface in javax.swing">JLabel</a> getTextRenderer()</pre>
<pre>protected <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/awt/geom/Point2D.html?is-external=true"title="class or interface in java.awt.geom">Point2D</a> getMargin(<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> align,
<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> valign)</pre>
<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> str,
<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> align,
<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> valign,
<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> format,
<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> overflow,
<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> str,
<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> align,
<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> valign,
<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> format,
<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> overflow,
<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> str,
<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> align,
<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> valign,
<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> format,
<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> overflow,
<pre>protected final <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> createTextGraphics(double x,
double y,
double w,
double h,
double rotation,
boolean clip,
<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> align,
<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> valign)</pre>
<divclass="block">Returns a new graphics instance with the correct color and font for
text rendering.</div>
</li>
</ul>
<aname="begin()">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>begin</h4>
<pre>public void begin()</pre>
<divclass="block"><strong>Description copied from interface: <code><ahref="../../../com/mxgraph/canvas/mxICanvas2D.html#begin()">mxICanvas2D</a></code></strong></div>
<divclass="block">Begins a new path.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><ahref="../../../com/mxgraph/canvas/mxICanvas2D.html#begin()">begin</a></code> in interface <code><ahref="../../../com/mxgraph/canvas/mxICanvas2D.html"title="interface in com.mxgraph.canvas">mxICanvas2D</a></code></dd>
</dl>
</li>
</ul>
<aname="moveTo(double, double)">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>moveTo</h4>
<pre>public void moveTo(double x,
double y)</pre>
<divclass="block"><strong>Description copied from interface: <code><ahref="../../../com/mxgraph/canvas/mxICanvas2D.html#moveTo(double, double)">mxICanvas2D</a></code></strong></div>
<divclass="block">Moves to the given path.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><ahref="../../../com/mxgraph/canvas/mxICanvas2D.html#moveTo(double, double)">moveTo</a></code> in interface <code><ahref="../../../com/mxgraph/canvas/mxICanvas2D.html"title="interface in com.mxgraph.canvas">mxICanvas2D</a></code></dd>
</dl>
</li>
</ul>
<aname="lineTo(double, double)">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>lineTo</h4>
<pre>public void lineTo(double x,
double y)</pre>
<divclass="block"><strong>Description copied from interface: <code><ahref="../../../com/mxgraph/canvas/mxICanvas2D.html#lineTo(double, double)">mxICanvas2D</a></code></strong></div>
<divclass="block">Draws a line to the given path.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><ahref="../../../com/mxgraph/canvas/mxICanvas2D.html#lineTo(double, double)">lineTo</a></code> in interface <code><ahref="../../../com/mxgraph/canvas/mxICanvas2D.html"title="interface in com.mxgraph.canvas">mxICanvas2D</a></code></dd>
</dl>
</li>
</ul>
<aname="quadTo(double, double, double, double)">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>quadTo</h4>
<pre>public void quadTo(double x1,
double y1,
double x2,
double y2)</pre>
<divclass="block"><strong>Description copied from interface: <code><ahref="../../../com/mxgraph/canvas/mxICanvas2D.html#quadTo(double, double, double, double)">mxICanvas2D</a></code></strong></div>
<divclass="block">Draws a quadratic curve to the given point.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><ahref="../../../com/mxgraph/canvas/mxICanvas2D.html#quadTo(double, double, double, double)">quadTo</a></code> in interface <code><ahref="../../../com/mxgraph/canvas/mxICanvas2D.html"title="interface in com.mxgraph.canvas">mxICanvas2D</a></code></dd>
<divclass="block"><strong>Description copied from interface: <code><ahref="../../../com/mxgraph/canvas/mxICanvas2D.html#curveTo(double, double, double, double, double, double)">mxICanvas2D</a></code></strong></div>
<divclass="block">Draws a bezier curve to the given point.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><ahref="../../../com/mxgraph/canvas/mxICanvas2D.html#curveTo(double, double, double, double, double, double)">curveTo</a></code> in interface <code><ahref="../../../com/mxgraph/canvas/mxICanvas2D.html"title="interface in com.mxgraph.canvas">mxICanvas2D</a></code></dd>
</dl>
</li>
</ul>
<aname="close()">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>close</h4>
<pre>public void close()</pre>
<divclass="block">Closes the current path.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><ahref="../../../com/mxgraph/canvas/mxICanvas2D.html#close()">close</a></code> in interface <code><ahref="../../../com/mxgraph/canvas/mxICanvas2D.html"title="interface in com.mxgraph.canvas">mxICanvas2D</a></code></dd>
</dl>
</li>
</ul>
<aname="stroke()">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>stroke</h4>
<pre>public void stroke()</pre>
<divclass="block"><strong>Description copied from interface: <code><ahref="../../../com/mxgraph/canvas/mxICanvas2D.html#stroke()">mxICanvas2D</a></code></strong></div>
<divclass="block">Paints the outline of the current path.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><ahref="../../../com/mxgraph/canvas/mxICanvas2D.html#stroke()">stroke</a></code> in interface <code><ahref="../../../com/mxgraph/canvas/mxICanvas2D.html"title="interface in com.mxgraph.canvas">mxICanvas2D</a></code></dd>
</dl>
</li>
</ul>
<aname="fill()">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>fill</h4>
<pre>public void fill()</pre>
<divclass="block"><strong>Description copied from interface: <code><ahref="../../../com/mxgraph/canvas/mxICanvas2D.html#fill()">mxICanvas2D</a></code></strong></div>
<divclass="block">Fills the current path.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><ahref="../../../com/mxgraph/canvas/mxICanvas2D.html#fill()">fill</a></code> in interface <code><ahref="../../../com/mxgraph/canvas/mxICanvas2D.html"title="interface in com.mxgraph.canvas">mxICanvas2D</a></code></dd>
</dl>
</li>
</ul>
<aname="fillAndStroke()">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>fillAndStroke</h4>
<pre>public void fillAndStroke()</pre>
<divclass="block"><strong>Description copied from interface: <code><ahref="../../../com/mxgraph/canvas/mxICanvas2D.html#fillAndStroke()">mxICanvas2D</a></code></strong></div>
<divclass="block">Fills and paints the outline of the current path.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><ahref="../../../com/mxgraph/canvas/mxICanvas2D.html#fillAndStroke()">fillAndStroke</a></code> in interface <code><ahref="../../../com/mxgraph/canvas/mxICanvas2D.html"title="interface in com.mxgraph.canvas">mxICanvas2D</a></code></dd>
<divclass="block"><strong>Description copied from interface: <code><ahref="../../../com/mxgraph/canvas/mxICanvas2D.html#setShadow(boolean)">mxICanvas2D</a></code></strong></div>
<divclass="block">Enables or disables the painting of shadows.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><ahref="../../../com/mxgraph/canvas/mxICanvas2D.html#setShadow(boolean)">setShadow</a></code> in interface <code><ahref="../../../com/mxgraph/canvas/mxICanvas2D.html"title="interface in com.mxgraph.canvas">mxICanvas2D</a></code></dd>
<dt><spanclass="strong">Parameters:</span></dt><dd><code>value</code> - Whether the shadow should be enabled.</dd></dl>
<pre>public void setShadowColor(<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> value)</pre>
<divclass="block"><strong>Description copied from interface: <code><ahref="../../../com/mxgraph/canvas/mxICanvas2D.html#setShadowColor(java.lang.String)">mxICanvas2D</a></code></strong></div>
<divclass="block">Default value <ahref="../../../com/mxgraph/util/mxConstants.html#NONE"><code>mxConstants.NONE</code></a>.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><ahref="../../../com/mxgraph/canvas/mxICanvas2D.html#setShadowColor(java.lang.String)">setShadowColor</a></code> in interface <code><ahref="../../../com/mxgraph/canvas/mxICanvas2D.html"title="interface in com.mxgraph.canvas">mxICanvas2D</a></code></dd>
<dt><spanclass="strong">Parameters:</span></dt><dd><code>value</code> - Hex representation of the color or <ahref="../../../com/mxgraph/util/mxConstants.html#NONE"><code>mxConstants.NONE</code></a>.</dd></dl>
<divclass="block"><strong>Description copied from interface: <code><ahref="../../../com/mxgraph/canvas/mxICanvas2D.html#setShadowAlpha(double)">mxICanvas2D</a></code></strong></div>
<divclass="block">Default value <ahref="../../../com/mxgraph/util/mxConstants.html#NONE"><code>mxConstants.NONE</code></a>.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><ahref="../../../com/mxgraph/canvas/mxICanvas2D.html#setShadowAlpha(double)">setShadowAlpha</a></code> in interface <code><ahref="../../../com/mxgraph/canvas/mxICanvas2D.html"title="interface in com.mxgraph.canvas">mxICanvas2D</a></code></dd>
<dt><spanclass="strong">Parameters:</span></dt><dd><code>value</code> - Hex representation of the color or <ahref="../../../com/mxgraph/util/mxConstants.html#NONE"><code>mxConstants.NONE</code></a>.</dd></dl>
<divclass="block"><strong>Description copied from interface: <code><ahref="../../../com/mxgraph/canvas/mxICanvas2D.html#setShadowOffset(double, double)">mxICanvas2D</a></code></strong></div>
<divclass="block">Default value <ahref="../../../com/mxgraph/util/mxConstants.html#NONE"><code>mxConstants.NONE</code></a>.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><ahref="../../../com/mxgraph/canvas/mxICanvas2D.html#setShadowOffset(double, double)">setShadowOffset</a></code> in interface <code><ahref="../../../com/mxgraph/canvas/mxICanvas2D.html"title="interface in com.mxgraph.canvas">mxICanvas2D</a></code></dd>
<pre>protected <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/awt/Font.html?is-external=true"title="class or interface in java.awt">Font</a> createFont(<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> family,
<pre>protected <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> getFontName(<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> family)</pre>
<li><ahref="../../../com/mxgraph/canvas/mxGraphics2DCanvas.html"title="class in com.mxgraph.canvas"><spanclass="strong">Prev Class</span></a></li>
<li><ahref="../../../com/mxgraph/canvas/mxGraphicsCanvas2D.CanvasState.html"title="class in com.mxgraph.canvas"><spanclass="strong">Next Class</span></a></li>