<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>
<IMGSRC="../../../resources/inherit.gif"ALT="extended by "><AHREF="../../../com/mxgraph/shape/mxBasicShape.html"title="class in com.mxgraph.shape">com.mxgraph.shape.mxBasicShape</A>
<IMGSRC="../../../resources/inherit.gif"ALT="extended by "><AHREF="../../../com/mxgraph/shape/mxConnectorShape.html"title="class in com.mxgraph.shape">com.mxgraph.shape.mxConnectorShape</A>
<IMGSRC="../../../resources/inherit.gif"ALT="extended by "><B>com.mxgraph.shape.mxCurveShape</B>
</PRE>
<DL>
<DT><B>All Implemented Interfaces:</B><DD><AHREF="../../../com/mxgraph/shape/mxIShape.html"title="interface in com.mxgraph.shape">mxIShape</A></DD>
</DL>
<HR>
<DL>
<DT><PRE>public class <B>mxCurveShape</B><DT>extends <AHREF="../../../com/mxgraph/shape/mxConnectorShape.html"title="class in com.mxgraph.shape">mxConnectorShape</A></DL>
<TD><CODE><B><AHREF="../../../com/mxgraph/shape/mxCurveShape.html#mxCurveShape(com.mxgraph.util.mxCurve)">mxCurveShape</A></B>(<AHREF="../../../com/mxgraph/util/mxCurve.html"title="class in com.mxgraph.util">mxCurve</A> curve)</CODE>
<CODE>protected <AHREF="../../../com/mxgraph/util/mxLine.html"title="class in com.mxgraph.util">mxLine</A></CODE></FONT></TD>
<TD><CODE><B><AHREF="../../../com/mxgraph/shape/mxCurveShape.html#getMarkerVector(java.util.List, boolean, double)">getMarkerVector</A></B>(<AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/util/List.html?is-external=true"title="class or interface in java.util">List</A><<AHREF="../../../com/mxgraph/util/mxPoint.html"title="class in com.mxgraph.util">mxPoint</A>> points,
boolean source,
double markerSize)</CODE>
<BR>
Hook to override creation of the vector that the marker is drawn along
since it may not be the same as the vector between any two control
<TD><CODE><B><AHREF="../../../com/mxgraph/shape/mxCurveShape.html#paintPolyline(com.mxgraph.canvas.mxGraphics2DCanvas, java.util.List, java.util.Map)">paintPolyline</A></B>(<AHREF="../../../com/mxgraph/canvas/mxGraphics2DCanvas.html"title="class in com.mxgraph.canvas">mxGraphics2DCanvas</A> canvas,
<AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/util/List.html?is-external=true"title="class or interface in java.util">List</A><<AHREF="../../../com/mxgraph/util/mxPoint.html"title="class in com.mxgraph.util">mxPoint</A>> points,
<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><CODE><B><AHREF="../../../com/mxgraph/shape/mxCurveShape.html#paintShape(com.mxgraph.canvas.mxGraphics2DCanvas, com.mxgraph.view.mxCellState)">paintShape</A></B>(<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><CODE><B><AHREF="../../../com/mxgraph/shape/mxCurveShape.html#validateCurve(java.util.List, double, java.util.Map)">validateCurve</A></B>(<AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/util/List.html?is-external=true"title="class or interface in java.util">List</A><<AHREF="../../../com/mxgraph/util/mxPoint.html"title="class in com.mxgraph.util">mxPoint</A>> points,
double scale,
<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>
<BR>
Forces underlying curve to a valid state</TD>
<THALIGN="left"><B>Methods inherited from class com.mxgraph.shape.<AHREF="../../../com/mxgraph/shape/mxConnectorShape.html"title="class in com.mxgraph.shape">mxConnectorShape</A></B></TH>
<THALIGN="left"><B>Methods inherited from class com.mxgraph.shape.<AHREF="../../../com/mxgraph/shape/mxBasicShape.html"title="class in com.mxgraph.shape">mxBasicShape</A></B></TH>
<THALIGN="left"><B>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></B></TH>
</TR>
<TRBGCOLOR="white"CLASS="TableRowColor">
<TD><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></TD>
public void <B>paintShape</B>(<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>
<DD><DL>
<DT><B>Specified by:</B><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><DT><B>Overrides:</B><DD><CODE><AHREF="../../../com/mxgraph/shape/mxConnectorShape.html#paintShape(com.mxgraph.canvas.mxGraphics2DCanvas, com.mxgraph.view.mxCellState)">paintShape</A></CODE> in class <CODE><AHREF="../../../com/mxgraph/shape/mxConnectorShape.html"title="class in com.mxgraph.shape">mxConnectorShape</A></CODE></DL>
protected void <B>paintPolyline</B>(<AHREF="../../../com/mxgraph/canvas/mxGraphics2DCanvas.html"title="class in com.mxgraph.canvas">mxGraphics2DCanvas</A> canvas,
<AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/util/List.html?is-external=true"title="class or interface in java.util">List</A><<AHREF="../../../com/mxgraph/util/mxPoint.html"title="class in com.mxgraph.util">mxPoint</A>> points,
<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>
<DL>
<DD><DL>
<DT><B>Overrides:</B><DD><CODE><AHREF="../../../com/mxgraph/shape/mxConnectorShape.html#paintPolyline(com.mxgraph.canvas.mxGraphics2DCanvas, java.util.List, java.util.Map)">paintPolyline</A></CODE> in class <CODE><AHREF="../../../com/mxgraph/shape/mxConnectorShape.html"title="class in com.mxgraph.shape">mxConnectorShape</A></CODE></DL>
public void <B>validateCurve</B>(<AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/util/List.html?is-external=true"title="class or interface in java.util">List</A><<AHREF="../../../com/mxgraph/util/mxPoint.html"title="class in com.mxgraph.util">mxPoint</A>> points,
double scale,
<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>
protected <AHREF="../../../com/mxgraph/util/mxLine.html"title="class in com.mxgraph.util">mxLine</A><B>getMarkerVector</B>(<AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/util/List.html?is-external=true"title="class or interface in java.util">List</A><<AHREF="../../../com/mxgraph/util/mxPoint.html"title="class in com.mxgraph.util">mxPoint</A>> points,
boolean source,
double markerSize)</PRE>
<DL>
<DD>Hook to override creation of the vector that the marker is drawn along
since it may not be the same as the vector between any two control
points
<P>
<DD><DL>
<DT><B>Overrides:</B><DD><CODE><AHREF="../../../com/mxgraph/shape/mxConnectorShape.html#getMarkerVector(java.util.List, boolean, double)">getMarkerVector</A></CODE> in class <CODE><AHREF="../../../com/mxgraph/shape/mxConnectorShape.html"title="class in com.mxgraph.shape">mxConnectorShape</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>points</CODE> - the guide points of the connector<DD><CODE>source</CODE> - whether the marker is at the source end<DD><CODE>markerSize</CODE> - the scaled maximum length of the marker
<DT><B>Returns:</B><DD>a line describing the vector the marker should be drawn along</DL>