<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><ahref="../../../com/mxgraph/canvas/mxBasicCanvas.html"title="class in com.mxgraph.canvas">com.mxgraph.canvas.mxBasicCanvas</a></li>
<li>
<ulclass="inheritance">
<li>com.mxgraph.canvas.mxGraphics2DCanvas</li>
</ul>
</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>
<dl>
<dt>Direct Known Subclasses:</dt>
<dd><ahref="../../../com/mxgraph/swing/view/mxInteractiveCanvas.html"title="class in com.mxgraph.swing.view">mxInteractiveCanvas</a></dd>
</dl>
<hr>
<br>
<pre>public class <spanclass="strong">mxGraphics2DCanvas</span>
extends <ahref="../../../com/mxgraph/canvas/mxBasicCanvas.html"title="class in com.mxgraph.canvas">mxBasicCanvas</a></pre>
<divclass="block">An implementation of a canvas that uses Graphics2D for painting.</div>
<thclass="colFirst"scope="col">Modifier and Type</th>
<thclass="colLast"scope="col">Field and Description</th>
</tr>
<trclass="altColor">
<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>
<divclass="block">Specifies the image scaling quality.</div>
</td>
</tr>
<trclass="altColor">
<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>
<divclass="block">Optional renderer pane to be used for HTML label rendering.</div>
</td>
</tr>
<trclass="rowColor">
<tdclass="colFirst"><code>protected static <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/util/Map.html?is-external=true"title="class or interface in java.util">Map</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="../../../com/mxgraph/shape/mxIShape.html"title="interface in com.mxgraph.shape">mxIShape</a>></code></td>
<divclass="block">Maps from names to mxIVertexShape instances.</div>
</td>
</tr>
<trclass="altColor">
<tdclass="colFirst"><code>static <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>static <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 static <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/util/Map.html?is-external=true"title="class or interface in java.util">Map</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="../../../com/mxgraph/shape/mxITextShape.html"title="interface in com.mxgraph.shape">mxITextShape</a>></code></td>
<h3>Fields inherited from class com.mxgraph.canvas.<ahref="../../../com/mxgraph/canvas/mxBasicCanvas.html"title="class in com.mxgraph.canvas">mxBasicCanvas</a></h3>
<divclass="block">Constructs a new graphics canvas with an empty graphics object.</div>
</td>
</tr>
<trclass="rowColor">
<tdclass="colOne"><code><strong><ahref="../../../com/mxgraph/canvas/mxGraphics2DCanvas.html#mxGraphics2DCanvas(java.awt.Graphics2D)">mxGraphics2DCanvas</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>
<divclass="block">Constructs a new graphics canvas for the given graphics object.</div>
<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/Paint.html?is-external=true"title="class or interface in java.awt">Paint</a></code></td>
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/canvas/mxGraphics2DCanvas.html#createFillPaint(com.mxgraph.util.mxRectangle, java.util.Map)">createFillPaint</a></strong>(<ahref="../../../com/mxgraph/util/mxRectangle.html"title="class in com.mxgraph.util">mxRectangle</a> bounds,
<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/util/Map.html?is-external=true"title="class or interface in java.util">Map</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/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a>> style)</code> </td>
</tr>
<trclass="rowColor">
<tdclass="colFirst"><code><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="colLast"><code><strong><ahref="../../../com/mxgraph/canvas/mxGraphics2DCanvas.html#createStroke(java.util.Map)">createStroke</a></strong>(<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/util/Map.html?is-external=true"title="class or interface in java.util">Map</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/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a>> style)</code> </td>
</tr>
<trclass="altColor">
<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="colLast"><code><strong><ahref="../../../com/mxgraph/canvas/mxGraphics2DCanvas.html#createTemporaryGraphics(java.util.Map, float, com.mxgraph.util.mxRectangle)">createTemporaryGraphics</a></strong>(<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/util/Map.html?is-external=true"title="class or interface in java.util">Map</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/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a>> style,
float opacity,
<ahref="../../../com/mxgraph/util/mxRectangle.html"title="class in com.mxgraph.util">mxRectangle</a> bounds)</code> </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/mxGraphics2DCanvas.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>void</code></td>
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/canvas/mxGraphics2DCanvas.html#drawImage(java.awt.Rectangle, java.lang.String)">drawImage</a></strong>(<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> bounds,
<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> imageUrl)</code> </td>
</tr>
<trclass="rowColor">
<tdclass="colFirst"><code>void</code></td>
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/canvas/mxGraphics2DCanvas.html#drawImage(java.awt.Rectangle, java.lang.String, boolean, boolean, boolean)">drawImage</a></strong>(<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> bounds,
<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> imageUrl,
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/canvas/mxGraphics2DCanvas.html#drawImageImpl(java.awt.Image, int, int)">drawImageImpl</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,
int x,
int y)</code>
<divclass="block">Implements the actual graphics call.</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/mxGraphics2DCanvas.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,
boolean html)</code>
<divclass="block">Draws the given label.</div>
</td>
</tr>
<trclass="altColor">
<tdclass="colFirst"><code>void</code></td>
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/canvas/mxGraphics2DCanvas.html#fillShape(java.awt.Shape)">fillShape</a></strong>(<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/awt/Shape.html?is-external=true"title="class or interface in java.awt">Shape</a> shape)</code> </td>
</tr>
<trclass="rowColor">
<tdclass="colFirst"><code>void</code></td>
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/canvas/mxGraphics2DCanvas.html#fillShape(java.awt.Shape, boolean)">fillShape</a></strong>(<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/awt/Shape.html?is-external=true"title="class or interface in java.awt">Shape</a> shape,
boolean shadow)</code> </td>
</tr>
<trclass="altColor">
<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>
<divclass="block">Returns the graphics object for this canvas.</div>
</td>
</tr>
<trclass="rowColor">
<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/mxGraphics2DCanvas.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>
<divclass="block">Returns the size for the given image.</div>
</td>
</tr>
<trclass="altColor">
<tdclass="colFirst"><code><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><ahref="../../../com/mxgraph/shape/mxIShape.html"title="interface in com.mxgraph.shape">mxIShape</a></code></td>
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/canvas/mxGraphics2DCanvas.html#getShape(java.util.Map)">getShape</a></strong>(<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/util/Map.html?is-external=true"title="class or interface in java.util">Map</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/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a>> style)</code> </td>
</tr>
<trclass="altColor">
<tdclass="colFirst"><code><ahref="../../../com/mxgraph/shape/mxITextShape.html"title="interface in com.mxgraph.shape">mxITextShape</a></code></td>
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/canvas/mxGraphics2DCanvas.html#getTextShape(java.util.Map, boolean)">getTextShape</a></strong>(<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/util/Map.html?is-external=true"title="class or interface in java.util">Map</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/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a>> style,
boolean html)</code> </td>
</tr>
<trclass="rowColor">
<tdclass="colFirst"><code>void</code></td>
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/canvas/mxGraphics2DCanvas.html#paintPolyline(com.mxgraph.util.mxPoint[], boolean)">paintPolyline</a></strong>(<ahref="../../../com/mxgraph/util/mxPoint.html"title="class in com.mxgraph.util">mxPoint</a>[] points,
boolean rounded)</code> </td>
</tr>
<trclass="altColor">
<tdclass="colFirst"><code>void</code></td>
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/canvas/mxGraphics2DCanvas.html#paintRectangle(java.awt.Rectangle, java.awt.Color, java.awt.Color)">paintRectangle</a></strong>(<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> bounds,
<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,
<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> border)</code> </td>
</tr>
<trclass="rowColor">
<tdclass="colFirst"><code>static void</code></td>
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/canvas/mxGraphics2DCanvas.html#putShape(java.lang.String, com.mxgraph.shape.mxIShape)">putShape</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> name,
<ahref="../../../com/mxgraph/shape/mxIShape.html"title="interface in com.mxgraph.shape">mxIShape</a> shape)</code> </td>
</tr>
<trclass="altColor">
<tdclass="colFirst"><code>static void</code></td>
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/canvas/mxGraphics2DCanvas.html#putTextShape(java.lang.String, com.mxgraph.shape.mxITextShape)">putTextShape</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> name,
<ahref="../../../com/mxgraph/shape/mxITextShape.html"title="interface in com.mxgraph.shape">mxITextShape</a> shape)</code> </td>
</tr>
<trclass="rowColor">
<tdclass="colFirst"><code>void</code></td>
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/canvas/mxGraphics2DCanvas.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> g)</code>
<divclass="block">Sets the graphics object for this canvas.</div>
<h3>Methods inherited from class com.mxgraph.canvas.<ahref="../../../com/mxgraph/canvas/mxBasicCanvas.html"title="class in com.mxgraph.canvas">mxBasicCanvas</a></h3>
<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>public static final <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_SHAPE_DEFAULT</pre>
<dl><dt><spanclass="strong">See Also:</span></dt><dd><ahref="../../../constant-values.html#com.mxgraph.canvas.mxGraphics2DCanvas.TEXT_SHAPE_DEFAULT">Constant Field Values</a></dd></dl>
</li>
</ul>
<aname="TEXT_SHAPE_HTML">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>TEXT_SHAPE_HTML</h4>
<pre>public static final <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_SHAPE_HTML</pre>
<dl><dt><spanclass="strong">See Also:</span></dt><dd><ahref="../../../constant-values.html#com.mxgraph.canvas.mxGraphics2DCanvas.TEXT_SHAPE_HTML">Constant Field Values</a></dd></dl>
</li>
</ul>
<aname="IMAGE_SCALING">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>IMAGE_SCALING</h4>
<pre>public static int IMAGE_SCALING</pre>
<divclass="block">Specifies the image scaling quality. Default is Image.SCALE_SMOOTH.</div>
</li>
</ul>
<aname="shapes">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>shapes</h4>
<pre>protected static <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/util/Map.html?is-external=true"title="class or interface in java.util">Map</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="../../../com/mxgraph/shape/mxIShape.html"title="interface in com.mxgraph.shape">mxIShape</a>> shapes</pre>
<divclass="block">Maps from names to mxIVertexShape instances.</div>
</li>
</ul>
<aname="textShapes">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>textShapes</h4>
<pre>protected static <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/util/Map.html?is-external=true"title="class or interface in java.util">Map</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="../../../com/mxgraph/shape/mxITextShape.html"title="interface in com.mxgraph.shape">mxITextShape</a>> textShapes</pre>
<divclass="block">Maps from names to mxITextShape instances. There are currently three different
hardcoded text shapes available here: default, html and wrapped.</div>
</li>
</ul>
<aname="rendererPane">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>rendererPane</h4>
<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>
<divclass="block">Optional renderer pane to be used for HTML label rendering.</div>
</li>
</ul>
<aname="g">
<!---->
</a>
<ulclass="blockListLast">
<liclass="blockList">
<h4>g</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> g</pre>
<divclass="block">Global graphics handle to the image.</div>
<divclass="block">Constructs a new graphics canvas with an empty graphics object.</div>
</li>
</ul>
<aname="mxGraphics2DCanvas(java.awt.Graphics2D)">
<!---->
</a>
<ulclass="blockListLast">
<liclass="blockList">
<h4>mxGraphics2DCanvas</h4>
<pre>public mxGraphics2DCanvas(<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>
<divclass="block">Constructs a new graphics canvas for the given graphics object.</div>
<pre>public static void putShape(<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> name,
<ahref="../../../com/mxgraph/shape/mxIShape.html"title="interface in com.mxgraph.shape">mxIShape</a> shape)</pre>
</li>
</ul>
<aname="getShape(java.util.Map)">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>getShape</h4>
<pre>public <ahref="../../../com/mxgraph/shape/mxIShape.html"title="interface in com.mxgraph.shape">mxIShape</a> getShape(<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/util/Map.html?is-external=true"title="class or interface in java.util">Map</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/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a>> style)</pre>
<pre>public static void putTextShape(<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> name,
<ahref="../../../com/mxgraph/shape/mxITextShape.html"title="interface in com.mxgraph.shape">mxITextShape</a> shape)</pre>
</li>
</ul>
<aname="getTextShape(java.util.Map, boolean)">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>getTextShape</h4>
<pre>public <ahref="../../../com/mxgraph/shape/mxITextShape.html"title="interface in com.mxgraph.shape">mxITextShape</a> getTextShape(<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/util/Map.html?is-external=true"title="class or interface in java.util">Map</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/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a>> style,
boolean html)</pre>
</li>
</ul>
<aname="getRendererPane()">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>getRendererPane</h4>
<pre>public <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> getRendererPane()</pre>
</li>
</ul>
<aname="getGraphics()">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>getGraphics</h4>
<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">Returns the graphics object for this canvas.</div>
</li>
</ul>
<aname="setGraphics(java.awt.Graphics2D)">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>setGraphics</h4>
<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> g)</pre>
<divclass="block">Sets the graphics object for this canvas.</div>
</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><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> text,
<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><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>
<pre>public void drawImage(<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> bounds,
<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> imageUrl)</pre>
<pre>public void drawImage(<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> bounds,
<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> imageUrl,
boolean preserveAspect,
boolean flipH,
boolean flipV)</pre>
</li>
</ul>
<aname="drawImageImpl(java.awt.Image, int, int)">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>drawImageImpl</h4>
<pre>protected void drawImageImpl(<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,
int x,
int y)</pre>
<divclass="block">Implements the actual graphics call.</div>
</li>
</ul>
<aname="getImageSize(java.awt.Image)">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>getImageSize</h4>
<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>
<divclass="block">Returns the size for the given image.</div>
<pre>public void paintRectangle(<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> bounds,
<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,
<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> border)</pre>
</li>
</ul>
<aname="fillShape(java.awt.Shape)">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>fillShape</h4>
<pre>public void fillShape(<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/awt/Shape.html?is-external=true"title="class or interface in java.awt">Shape</a> shape)</pre>
</li>
</ul>
<aname="fillShape(java.awt.Shape, boolean)">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>fillShape</h4>
<pre>public void fillShape(<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/awt/Shape.html?is-external=true"title="class or interface in java.awt">Shape</a> shape,
boolean shadow)</pre>
</li>
</ul>
<aname="createStroke(java.util.Map)">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>createStroke</h4>
<pre>public <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> createStroke(<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/util/Map.html?is-external=true"title="class or interface in java.util">Map</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/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a>> style)</pre>
<pre>public <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/awt/Paint.html?is-external=true"title="class or interface in java.awt">Paint</a> createFillPaint(<ahref="../../../com/mxgraph/util/mxRectangle.html"title="class in com.mxgraph.util">mxRectangle</a> bounds,
<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/util/Map.html?is-external=true"title="class or interface in java.util">Map</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/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a>> style)</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> createTemporaryGraphics(<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/util/Map.html?is-external=true"title="class or interface in java.util">Map</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/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a>> style,
float opacity,
<ahref="../../../com/mxgraph/util/mxRectangle.html"title="class in com.mxgraph.util">mxRectangle</a> bounds)</pre>