<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/canvas/mxBasicCanvas.html"title="class in com.mxgraph.canvas">com.mxgraph.canvas.mxBasicCanvas</A>
<IMGSRC="../../../resources/inherit.gif"ALT="extended by "><B>com.mxgraph.canvas.mxSvgCanvas</B>
</PRE>
<DL>
<DT><B>All Implemented Interfaces:</B><DD><AHREF="../../../com/mxgraph/canvas/mxICanvas.html"title="interface in com.mxgraph.canvas">mxICanvas</A></DD>
</DL>
<HR>
<DL>
<DT><PRE>public class <B>mxSvgCanvas</B><DT>extends <AHREF="../../../com/mxgraph/canvas/mxBasicCanvas.html"title="class in com.mxgraph.canvas">mxBasicCanvas</A></DL>
</PRE>
<P>
An implementation of a canvas that uses SVG for painting. This canvas
ignores the STYLE_LABEL_BACKGROUNDCOLOR and
STYLE_LABEL_BORDERCOLOR styles due to limitations of SVG.
<CODE>protected <AHREF="http://download.oracle.com/javase/1.5.0/docs/api/org/w3c/dom/Element.html?is-external=true"title="class or interface in org.w3c.dom">Element</A></CODE></FONT></TD>
<CODE>protected <AHREF="http://download.oracle.com/javase/1.5.0/docs/api/org/w3c/dom/Document.html?is-external=true"title="class or interface in org.w3c.dom">Document</A></CODE></FONT></TD>
<THALIGN="left"><B>Fields inherited from class com.mxgraph.canvas.<AHREF="../../../com/mxgraph/canvas/mxBasicCanvas.html"title="class in com.mxgraph.canvas">mxBasicCanvas</A></B></TH>
Constructs a new SVG canvas for the specified dimension and scale.</TD>
</TR>
<TRBGCOLOR="white"CLASS="TableRowColor">
<TD><CODE><B><AHREF="../../../com/mxgraph/canvas/mxSvgCanvas.html#mxSvgCanvas(org.w3c.dom.Document)">mxSvgCanvas</A></B>(<AHREF="http://download.oracle.com/javase/1.5.0/docs/api/org/w3c/dom/Document.html?is-external=true"title="class or interface in org.w3c.dom">Document</A> document)</CODE>
<BR>
Constructs a new SVG canvas for the specified bounds, scale and
<TD><CODE><B><AHREF="../../../com/mxgraph/canvas/mxSvgCanvas.html#appendSvgElement(org.w3c.dom.Element)">appendSvgElement</A></B>(<AHREF="http://download.oracle.com/javase/1.5.0/docs/api/org/w3c/dom/Element.html?is-external=true"title="class or interface in org.w3c.dom">Element</A> node)</CODE>
<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></FONT></TD>
<TD><CODE><B><AHREF="../../../com/mxgraph/canvas/mxSvgCanvas.html#createDataUrl(java.lang.String)">createDataUrl</A></B>(<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>
<CODE>protected <AHREF="http://download.oracle.com/javase/1.5.0/docs/api/org/w3c/dom/Element.html?is-external=true"title="class or interface in org.w3c.dom">Element</A></CODE></FONT></TD>
<TD><CODE><B><AHREF="../../../com/mxgraph/canvas/mxSvgCanvas.html#createGradientElement(java.lang.String, java.lang.String, java.lang.String)">createGradientElement</A></B>(<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> start,
<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> end,
<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)</CODE>
<CODE>protected <AHREF="http://download.oracle.com/javase/1.5.0/docs/api/org/w3c/dom/Element.html?is-external=true"title="class or interface in org.w3c.dom">Element</A></CODE></FONT></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> src,
<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></FONT></TD>
<TD><CODE><B><AHREF="../../../com/mxgraph/canvas/mxSvgCanvas.html#drawCell(com.mxgraph.view.mxCellState)">drawCell</A></B>(<AHREF="../../../com/mxgraph/view/mxCellState.html"title="class in com.mxgraph.view">mxCellState</A> state)</CODE>
<BR>
Draws the given cell.</TD>
<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></FONT></TD>
<TD><CODE><B><AHREF="../../../com/mxgraph/canvas/mxSvgCanvas.html#drawLabel(java.lang.String, com.mxgraph.view.mxCellState, boolean)">drawLabel</A></B>(<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> label,
<AHREF="../../../com/mxgraph/view/mxCellState.html"title="class in com.mxgraph.view">mxCellState</A> state,
boolean html)</CODE>
<BR>
Draws the given label.</TD>
<CODE> <AHREF="http://download.oracle.com/javase/1.5.0/docs/api/org/w3c/dom/Element.html?is-external=true"title="class or interface in org.w3c.dom">Element</A></CODE></FONT></TD>
<TD><CODE><B><AHREF="../../../com/mxgraph/canvas/mxSvgCanvas.html#drawLine(java.util.List, java.util.Map)">drawLine</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>> pts,
<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>
Draws the given lines as segments between all points of the given list
<CODE> <AHREF="../../../com/mxgraph/util/mxPoint.html"title="class in com.mxgraph.util">mxPoint</A></CODE></FONT></TD>
<TD><CODE><B><AHREF="../../../com/mxgraph/canvas/mxSvgCanvas.html#drawMarker(org.w3c.dom.Element, java.lang.Object, com.mxgraph.util.mxPoint, com.mxgraph.util.mxPoint, float, float, java.lang.String)">drawMarker</A></B>(<AHREF="http://download.oracle.com/javase/1.5.0/docs/api/org/w3c/dom/Element.html?is-external=true"title="class or interface in org.w3c.dom">Element</A> parent,
<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> type,
<AHREF="../../../com/mxgraph/util/mxPoint.html"title="class in com.mxgraph.util">mxPoint</A> p0,
<AHREF="../../../com/mxgraph/util/mxPoint.html"title="class in com.mxgraph.util">mxPoint</A> pe,
float size,
float strokeWidth,
<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> color)</CODE>
<BR>
Draws the specified marker as a child path in the given parent.</TD>
<CODE> <AHREF="http://download.oracle.com/javase/1.5.0/docs/api/org/w3c/dom/Element.html?is-external=true"title="class or interface in org.w3c.dom">Element</A></CODE></FONT></TD>
<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>
Draws the shape specified with the STYLE_SHAPE key in the given style.</TD>
<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></FONT></TD>
<TD><CODE><B><AHREF="../../../com/mxgraph/canvas/mxSvgCanvas.html#drawText(java.lang.String, int, int, int, int, java.util.Map)">drawText</A></B>(<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,
int x,
int y,
int w,
int h,
<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>
Draws the specified text either using drawHtmlString or using drawString.</TD>
<CODE>protected <AHREF="http://download.oracle.com/javase/1.5.0/docs/api/org/w3c/dom/Element.html?is-external=true"title="class or interface in org.w3c.dom">Element</A></CODE></FONT></TD>
<CODE> <AHREF="http://download.oracle.com/javase/1.5.0/docs/api/org/w3c/dom/Document.html?is-external=true"title="class or interface in org.w3c.dom">Document</A></CODE></FONT></TD>
<CODE>protected <AHREF="http://download.oracle.com/javase/1.5.0/docs/api/org/w3c/dom/Element.html?is-external=true"title="class or interface in org.w3c.dom">Element</A></CODE></FONT></TD>
<TD><CODE><B><AHREF="../../../com/mxgraph/canvas/mxSvgCanvas.html#getEmbeddedImageElement(java.lang.String)">getEmbeddedImageElement</A></B>(<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>
<CODE> <AHREF="http://download.oracle.com/javase/1.5.0/docs/api/org/w3c/dom/Element.html?is-external=true"title="class or interface in org.w3c.dom">Element</A></CODE></FONT></TD>
<CODE> <AHREF="http://download.oracle.com/javase/1.5.0/docs/api/org/w3c/dom/Element.html?is-external=true"title="class or interface in org.w3c.dom">Element</A></CODE></FONT></TD>
<TD><CODE><B><AHREF="../../../com/mxgraph/canvas/mxSvgCanvas.html#getGradientElement(java.lang.String, java.lang.String, java.lang.String)">getGradientElement</A></B>(<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> start,
<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> end,
<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)</CODE>
<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></CODE></FONT></TD>
<TD><CODE><B><AHREF="../../../com/mxgraph/canvas/mxSvgCanvas.html#getGradientId(java.lang.String, java.lang.String, java.lang.String)">getGradientId</A></B>(<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> start,
<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> end,
<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)</CODE>
<CODE>protected <AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/io/InputStream.html?is-external=true"title="class or interface in java.io">InputStream</A></CODE></FONT></TD>
<TD><CODE><B><AHREF="../../../com/mxgraph/canvas/mxSvgCanvas.html#getResource(java.lang.String)">getResource</A></B>(<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>
<TD><CODE><B><AHREF="../../../com/mxgraph/canvas/mxSvgCanvas.html#isImageResource(java.lang.String)">isImageResource</A></B>(<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>
<BR>
Returns true if the given string ends with .png, .jpg or .gif.</TD>
<TD><CODE><B><AHREF="../../../com/mxgraph/canvas/mxSvgCanvas.html#setDocument(org.w3c.dom.Document)">setDocument</A></B>(<AHREF="http://download.oracle.com/javase/1.5.0/docs/api/org/w3c/dom/Document.html?is-external=true"title="class or interface in org.w3c.dom">Document</A> document)</CODE>
<THALIGN="left"><B>Methods inherited from class com.mxgraph.canvas.<AHREF="../../../com/mxgraph/canvas/mxBasicCanvas.html"title="class in com.mxgraph.canvas">mxBasicCanvas</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>
protected <AHREF="http://download.oracle.com/javase/1.5.0/docs/api/org/w3c/dom/Document.html?is-external=true"title="class or interface in org.w3c.dom">Document</A><B>document</B></PRE>
<DL>
<DD>Holds the HTML document that represents the canvas.
<P>
<DL>
</DL>
</DL>
<HR>
<ANAME="defs"><!----></A><H3>
defs</H3>
<PRE>
protected <AHREF="http://download.oracle.com/javase/1.5.0/docs/api/org/w3c/dom/Element.html?is-external=true"title="class or interface in org.w3c.dom">Element</A><B>defs</B></PRE>
<DL>
<DL>
</DL>
</DL>
<HR>
<ANAME="embedded"><!----></A><H3>
embedded</H3>
<PRE>
protected boolean <B>embedded</B></PRE>
<DL>
<DD>Specifies if images should be embedded as base64 encoded strings.
public <B>mxSvgCanvas</B>(<AHREF="http://download.oracle.com/javase/1.5.0/docs/api/org/w3c/dom/Document.html?is-external=true"title="class or interface in org.w3c.dom">Document</A> document)</PRE>
<DL>
<DD>Constructs a new SVG canvas for the specified bounds, scale and
public void <B>appendSvgElement</B>(<AHREF="http://download.oracle.com/javase/1.5.0/docs/api/org/w3c/dom/Element.html?is-external=true"title="class or interface in org.w3c.dom">Element</A> node)</PRE>
<DL>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<ANAME="getDefsElement()"><!----></A><H3>
getDefsElement</H3>
<PRE>
protected <AHREF="http://download.oracle.com/javase/1.5.0/docs/api/org/w3c/dom/Element.html?is-external=true"title="class or interface in org.w3c.dom">Element</A><B>getDefsElement</B>()</PRE>
public <AHREF="http://download.oracle.com/javase/1.5.0/docs/api/org/w3c/dom/Element.html?is-external=true"title="class or interface in org.w3c.dom">Element</A><B>getGradientElement</B>(<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> start,
<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> end,
<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>
public <AHREF="http://download.oracle.com/javase/1.5.0/docs/api/org/w3c/dom/Element.html?is-external=true"title="class or interface in org.w3c.dom">Element</A><B>getGlassGradientElement</B>()</PRE>
protected <AHREF="http://download.oracle.com/javase/1.5.0/docs/api/org/w3c/dom/Element.html?is-external=true"title="class or interface in org.w3c.dom">Element</A><B>createGradientElement</B>(<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> start,
<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> end,
<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>
public <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><B>getGradientId</B>(<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> start,
<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> end,
<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 boolean <B>isImageResource</B>(<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>
<DL>
<DD>Returns true if the given string ends with .png, .jpg or .gif.
protected <AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/io/InputStream.html?is-external=true"title="class or interface in java.io">InputStream</A><B>getResource</B>(<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 <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><B>createDataUrl</B>(<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)
throws <AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true"title="class or interface in java.io">IOException</A></PRE>
<DL>
<DD><DL>
<DT><B>Throws:</B>
<DD><CODE><AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true"title="class or interface in java.io">IOException</A></CODE></DL>
protected <AHREF="http://download.oracle.com/javase/1.5.0/docs/api/org/w3c/dom/Element.html?is-external=true"title="class or interface in org.w3c.dom">Element</A><B>getEmbeddedImageElement</B>(<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 <AHREF="http://download.oracle.com/javase/1.5.0/docs/api/org/w3c/dom/Element.html?is-external=true"title="class or interface in org.w3c.dom">Element</A><B>createImageElement</B>(double x,
double y,
double w,
double h,
<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,
public void <B>setDocument</B>(<AHREF="http://download.oracle.com/javase/1.5.0/docs/api/org/w3c/dom/Document.html?is-external=true"title="class or interface in org.w3c.dom">Document</A> document)</PRE>
<DL>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<ANAME="getDocument()"><!----></A><H3>
getDocument</H3>
<PRE>
public <AHREF="http://download.oracle.com/javase/1.5.0/docs/api/org/w3c/dom/Document.html?is-external=true"title="class or interface in org.w3c.dom">Document</A><B>getDocument</B>()</PRE>
<DL>
<DD>Returns a reference to the document that represents the canvas.
<P>
<DD><DL>
<DT><B>Returns:</B><DD>Returns the document.</DL>
</DD>
</DL>
<HR>
<ANAME="setEmbedded(boolean)"><!----></A><H3>
setEmbedded</H3>
<PRE>
public void <B>setEmbedded</B>(boolean value)</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><B>drawCell</B>(<AHREF="../../../com/mxgraph/view/mxCellState.html"title="class in com.mxgraph.view">mxCellState</A> state)</PRE>
<DL>
<DD><B>Description copied from interface: <CODE><AHREF="../../../com/mxgraph/canvas/mxICanvas.html#drawCell(com.mxgraph.view.mxCellState)">mxICanvas</A></CODE></B></DD>
<DD>Draws the given cell.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>state</CODE> - State of the cell to be painted.
<DT><B>Returns:</B><DD>Object that represents the cell.</DL>
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><B>drawLabel</B>(<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> label,
<AHREF="../../../com/mxgraph/view/mxCellState.html"title="class in com.mxgraph.view">mxCellState</A> state,
boolean html)</PRE>
<DL>
<DD><B>Description copied from interface: <CODE><AHREF="../../../com/mxgraph/canvas/mxICanvas.html#drawLabel(java.lang.String, com.mxgraph.view.mxCellState, boolean)">mxICanvas</A></CODE></B></DD>
<DD>Draws the given label.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>label</CODE> - String that represents the label.<DD><CODE>state</CODE> - State of the cell whose label is to be painted.<DD><CODE>html</CODE> - Specifies if the label contains HTML markup.
<DT><B>Returns:</B><DD>Object that represents the label.</DL>
public <AHREF="http://download.oracle.com/javase/1.5.0/docs/api/org/w3c/dom/Element.html?is-external=true"title="class or interface in org.w3c.dom">Element</A><B>drawShape</B>(int x,
int y,
int w,
int h,
<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>Draws the shape specified with the STYLE_SHAPE key in the given style.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>x</CODE> - X-coordinate of the shape.<DD><CODE>y</CODE> - Y-coordinate of the shape.<DD><CODE>w</CODE> - Width of the shape.<DD><CODE>h</CODE> - Height of the shape.<DD><CODE>style</CODE> - Style of the the shape.</DL>
public <AHREF="http://download.oracle.com/javase/1.5.0/docs/api/org/w3c/dom/Element.html?is-external=true"title="class or interface in org.w3c.dom">Element</A><B>drawLine</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>> pts,
<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>Draws the given lines as segments between all points of the given list
of mxPoints.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>pts</CODE> - List of points that define the line.<DD><CODE>style</CODE> - Style to be used for painting the line.</DL>
public <AHREF="../../../com/mxgraph/util/mxPoint.html"title="class in com.mxgraph.util">mxPoint</A><B>drawMarker</B>(<AHREF="http://download.oracle.com/javase/1.5.0/docs/api/org/w3c/dom/Element.html?is-external=true"title="class or interface in org.w3c.dom">Element</A> parent,
<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> type,
<AHREF="../../../com/mxgraph/util/mxPoint.html"title="class in com.mxgraph.util">mxPoint</A> p0,
<AHREF="../../../com/mxgraph/util/mxPoint.html"title="class in com.mxgraph.util">mxPoint</A> pe,
float size,
float strokeWidth,
<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> color)</PRE>
<DL>
<DD>Draws the specified marker as a child path in the given parent.
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><B>drawText</B>(<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,
int x,
int y,
int w,
int h,
<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>Draws the specified text either using drawHtmlString or using drawString.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>text</CODE> - Text to be painted.<DD><CODE>x</CODE> - X-coordinate of the text.<DD><CODE>y</CODE> - Y-coordinate of the text.<DD><CODE>w</CODE> - Width of the text.<DD><CODE>h</CODE> - Height of the text.<DD><CODE>style</CODE> - Style to be used for painting the text.</DL>