<dd><ahref="../../../com/mxgraph/shape/mxIShape.html"title="interface in com.mxgraph.shape">mxIShape</a></dd>
</dl>
<dl>
<dt>Direct Known Subclasses:</dt>
<dd><ahref="../../../com/mxgraph/shape/mxActorShape.html"title="class in com.mxgraph.shape">mxActorShape</a>, <ahref="../../../com/mxgraph/shape/mxArrowShape.html"title="class in com.mxgraph.shape">mxArrowShape</a>, <ahref="../../../com/mxgraph/shape/mxCloudShape.html"title="class in com.mxgraph.shape">mxCloudShape</a>, <ahref="../../../com/mxgraph/shape/mxConnectorShape.html"title="class in com.mxgraph.shape">mxConnectorShape</a>, <ahref="../../../com/mxgraph/shape/mxCylinderShape.html"title="class in com.mxgraph.shape">mxCylinderShape</a>, <ahref="../../../com/mxgraph/shape/mxEllipseShape.html"title="class in com.mxgraph.shape">mxEllipseShape</a>, <ahref="../../../com/mxgraph/shape/mxHexagonShape.html"title="class in com.mxgraph.shape">mxHexagonShape</a>, <ahref="../../../com/mxgraph/shape/mxLineShape.html"title="class in com.mxgraph.shape">mxLineShape</a>, <ahref="../../../com/mxgraph/shape/mxRectangleShape.html"title="class in com.mxgraph.shape">mxRectangleShape</a>, <ahref="../../../com/mxgraph/shape/mxRhombusShape.html"title="class in com.mxgraph.shape">mxRhombusShape</a>, <ahref="../../../com/mxgraph/shape/mxStencilShape.html"title="class in com.mxgraph.shape">mxStencilShape</a>, <ahref="../../../com/mxgraph/shape/mxSwimlaneShape.html"title="class in com.mxgraph.shape">mxSwimlaneShape</a>, <ahref="../../../com/mxgraph/shape/mxTriangleShape.html"title="class in com.mxgraph.shape">mxTriangleShape</a></dd>
</dl>
<hr>
<br>
<pre>public class <spanclass="strong">mxBasicShape</span>
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/shape/mxBasicShape.html#configureGraphics(com.mxgraph.canvas.mxGraphics2DCanvas, com.mxgraph.view.mxCellState, boolean)">configureGraphics</a></strong>(<ahref="../../../com/mxgraph/canvas/mxGraphics2DCanvas.html"title="class in com.mxgraph.canvas">mxGraphics2DCanvas</a> canvas,
<ahref="../../../com/mxgraph/view/mxCellState.html"title="class in com.mxgraph.view">mxCellState</a> state,
boolean background)</code>
<divclass="block">Configures the graphics object ready to paint.</div>
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/shape/mxBasicShape.html#createShape(com.mxgraph.canvas.mxGraphics2DCanvas, com.mxgraph.view.mxCellState)">createShape</a></strong>(<ahref="../../../com/mxgraph/canvas/mxGraphics2DCanvas.html"title="class in com.mxgraph.canvas">mxGraphics2DCanvas</a> canvas,
<ahref="../../../com/mxgraph/view/mxCellState.html"title="class in com.mxgraph.view">mxCellState</a> state)</code> </td>
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/shape/mxBasicShape.html#getFillColor(com.mxgraph.canvas.mxGraphics2DCanvas, com.mxgraph.view.mxCellState)">getFillColor</a></strong>(<ahref="../../../com/mxgraph/canvas/mxGraphics2DCanvas.html"title="class in com.mxgraph.canvas">mxGraphics2DCanvas</a> canvas,
<ahref="../../../com/mxgraph/view/mxCellState.html"title="class in com.mxgraph.view">mxCellState</a> state)</code> </td>
</tr>
<trclass="rowColor">
<tdclass="colFirst"><code>protected <ahref="../../../com/mxgraph/util/mxRectangle.html"title="class in com.mxgraph.util">mxRectangle</a></code></td>
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/shape/mxBasicShape.html#getGradientBounds(com.mxgraph.canvas.mxGraphics2DCanvas, com.mxgraph.view.mxCellState)">getGradientBounds</a></strong>(<ahref="../../../com/mxgraph/canvas/mxGraphics2DCanvas.html"title="class in com.mxgraph.canvas">mxGraphics2DCanvas</a> canvas,
<ahref="../../../com/mxgraph/view/mxCellState.html"title="class in com.mxgraph.view">mxCellState</a> state)</code> </td>
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/shape/mxBasicShape.html#getStrokeColor(com.mxgraph.canvas.mxGraphics2DCanvas, com.mxgraph.view.mxCellState)">getStrokeColor</a></strong>(<ahref="../../../com/mxgraph/canvas/mxGraphics2DCanvas.html"title="class in com.mxgraph.canvas">mxGraphics2DCanvas</a> canvas,
<ahref="../../../com/mxgraph/view/mxCellState.html"title="class in com.mxgraph.view">mxCellState</a> state)</code> </td>
</tr>
<trclass="rowColor">
<tdclass="colFirst"><code>boolean</code></td>
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/shape/mxBasicShape.html#hasGradient(com.mxgraph.canvas.mxGraphics2DCanvas, com.mxgraph.view.mxCellState)">hasGradient</a></strong>(<ahref="../../../com/mxgraph/canvas/mxGraphics2DCanvas.html"title="class in com.mxgraph.canvas">mxGraphics2DCanvas</a> canvas,
<ahref="../../../com/mxgraph/view/mxCellState.html"title="class in com.mxgraph.view">mxCellState</a> state)</code> </td>
</tr>
<trclass="altColor">
<tdclass="colFirst"><code>boolean</code></td>
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/shape/mxBasicShape.html#hasShadow(com.mxgraph.canvas.mxGraphics2DCanvas, com.mxgraph.view.mxCellState)">hasShadow</a></strong>(<ahref="../../../com/mxgraph/canvas/mxGraphics2DCanvas.html"title="class in com.mxgraph.canvas">mxGraphics2DCanvas</a> canvas,
<ahref="../../../com/mxgraph/view/mxCellState.html"title="class in com.mxgraph.view">mxCellState</a> state)</code> </td>
</tr>
<trclass="rowColor">
<tdclass="colFirst"><code>void</code></td>
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/shape/mxBasicShape.html#paintShape(com.mxgraph.canvas.mxGraphics2DCanvas, com.mxgraph.view.mxCellState)">paintShape</a></strong>(<ahref="../../../com/mxgraph/canvas/mxGraphics2DCanvas.html"title="class in com.mxgraph.canvas">mxGraphics2DCanvas</a> canvas,
<ahref="../../../com/mxgraph/view/mxCellState.html"title="class in com.mxgraph.view">mxCellState</a> state)</code> </td>
<pre>public void paintShape(<ahref="../../../com/mxgraph/canvas/mxGraphics2DCanvas.html"title="class in com.mxgraph.canvas">mxGraphics2DCanvas</a> canvas,
<ahref="../../../com/mxgraph/view/mxCellState.html"title="class in com.mxgraph.view">mxCellState</a> state)</pre>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><ahref="../../../com/mxgraph/shape/mxIShape.html#paintShape(com.mxgraph.canvas.mxGraphics2DCanvas, com.mxgraph.view.mxCellState)">paintShape</a></code> in interface <code><ahref="../../../com/mxgraph/shape/mxIShape.html"title="interface in com.mxgraph.shape">mxIShape</a></code></dd>
<pre>public java.awt.Shape createShape(<ahref="../../../com/mxgraph/canvas/mxGraphics2DCanvas.html"title="class in com.mxgraph.canvas">mxGraphics2DCanvas</a> canvas,
<ahref="../../../com/mxgraph/view/mxCellState.html"title="class in com.mxgraph.view">mxCellState</a> state)</pre>
<pre>protected boolean configureGraphics(<ahref="../../../com/mxgraph/canvas/mxGraphics2DCanvas.html"title="class in com.mxgraph.canvas">mxGraphics2DCanvas</a> canvas,
<ahref="../../../com/mxgraph/view/mxCellState.html"title="class in com.mxgraph.view">mxCellState</a> state,
boolean background)</pre>
<divclass="block">Configures the graphics object ready to paint.</div>
<dl><dt><spanclass="strong">Parameters:</span></dt><dd><code>canvas</code> - the canvas to be painted to</dd><dd><code>state</code> - the state of cell to be painted</dd><dd><code>background</code> - whether or not this is the background stage of
the shape paint</dd>
<dt><spanclass="strong">Returns:</span></dt><dd>whether or not the shape is ready to be drawn</dd></dl>
<pre>protected <ahref="../../../com/mxgraph/util/mxRectangle.html"title="class in com.mxgraph.util">mxRectangle</a> getGradientBounds(<ahref="../../../com/mxgraph/canvas/mxGraphics2DCanvas.html"title="class in com.mxgraph.canvas">mxGraphics2DCanvas</a> canvas,
<ahref="../../../com/mxgraph/view/mxCellState.html"title="class in com.mxgraph.view">mxCellState</a> state)</pre>
<pre>public boolean hasGradient(<ahref="../../../com/mxgraph/canvas/mxGraphics2DCanvas.html"title="class in com.mxgraph.canvas">mxGraphics2DCanvas</a> canvas,
<ahref="../../../com/mxgraph/view/mxCellState.html"title="class in com.mxgraph.view">mxCellState</a> state)</pre>
<pre>public boolean hasShadow(<ahref="../../../com/mxgraph/canvas/mxGraphics2DCanvas.html"title="class in com.mxgraph.canvas">mxGraphics2DCanvas</a> canvas,
<ahref="../../../com/mxgraph/view/mxCellState.html"title="class in com.mxgraph.view">mxCellState</a> state)</pre>
<pre>public java.awt.Color getFillColor(<ahref="../../../com/mxgraph/canvas/mxGraphics2DCanvas.html"title="class in com.mxgraph.canvas">mxGraphics2DCanvas</a> canvas,
<ahref="../../../com/mxgraph/view/mxCellState.html"title="class in com.mxgraph.view">mxCellState</a> state)</pre>
<pre>public java.awt.Color getStrokeColor(<ahref="../../../com/mxgraph/canvas/mxGraphics2DCanvas.html"title="class in com.mxgraph.canvas">mxGraphics2DCanvas</a> canvas,
<ahref="../../../com/mxgraph/view/mxCellState.html"title="class in com.mxgraph.view">mxCellState</a> state)</pre>