<DT><B>All Known Implementing Classes:</B><DD><AHREF="../../../com/mxgraph/canvas/mxGraphicsCanvas2D.html"title="class in com.mxgraph.canvas">mxGraphicsCanvas2D</A></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,
boolean aspect,
boolean flipH,
boolean flipV)</CODE>
<BR>
Draws the given image.</TD>
<TD><CODE><B><AHREF="../../../com/mxgraph/canvas/mxICanvas2D.html#setDashPattern(java.lang.String)">setDashPattern</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> value)</CODE>
<BR>
Sets the dash pattern.</TD>
<TD><CODE><B><AHREF="../../../com/mxgraph/canvas/mxICanvas2D.html#setFillColor(java.lang.String)">setFillColor</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> value)</CODE>
<BR>
Default value <AHREF="../../../com/mxgraph/util/mxConstants.html#NONE"><CODE>mxConstants.NONE</CODE></A>.</TD>
<TD><CODE><B><AHREF="../../../com/mxgraph/canvas/mxICanvas2D.html#setFontColor(java.lang.String)">setFontColor</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> value)</CODE>
<BR>
Default value "#000000".</TD>
<TD><CODE><B><AHREF="../../../com/mxgraph/canvas/mxICanvas2D.html#setFontFamily(java.lang.String)">setFontFamily</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> value)</CODE>
<BR>
Default value <AHREF="../../../com/mxgraph/util/mxConstants.html#DEFAULT_FONTFAMILY"><CODE>mxConstants.DEFAULT_FONTFAMILY</CODE></A>.</TD>
Default value <AHREF="../../../com/mxgraph/util/mxConstants.html#DEFAULT_FONTSIZE"><CODE>mxConstants.DEFAULT_FONTSIZE</CODE></A>.</TD>
<TD><CODE><B><AHREF="../../../com/mxgraph/canvas/mxICanvas2D.html#setGradient(java.lang.String, java.lang.String, double, double, double, double, java.lang.String)">setGradient</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> 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,
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> direction)</CODE>
<BR>
Prepares the canvas to draw a gradient.</TD>
<TD><CODE><B><AHREF="../../../com/mxgraph/canvas/mxICanvas2D.html#setLineCap(java.lang.String)">setLineCap</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> value)</CODE>
<BR>
Sets the linecap.</TD>
<TD><CODE><B><AHREF="../../../com/mxgraph/canvas/mxICanvas2D.html#setLineJoin(java.lang.String)">setLineJoin</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> value)</CODE>
<BR>
Sets the linejoin.</TD>
<TD><CODE><B><AHREF="../../../com/mxgraph/canvas/mxICanvas2D.html#setStrokeColor(java.lang.String)">setStrokeColor</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> value)</CODE>
<BR>
Sets the stroke color.</TD>
<TD><CODE><B><AHREF="../../../com/mxgraph/canvas/mxICanvas2D.html#shadow(java.lang.String, boolean)">shadow</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> value,
boolean filled)</CODE>
<BR>
Paints the current path as a shadow.</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,
boolean vertical,
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> format)</CODE>
<BR>
Draws the given string.</TD>
<DD>Rotates the canvas by the given angle around the given center. This
method may add rendering overhead and should be used with care.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>theta</CODE> - Rotation angle in degrees (0 - 360).<DD><CODE>flipH</CODE> - Specifies if drawing should be flipped horizontally.<DD><CODE>flipV</CODE> - Specifies if drawing should be flipped vertically.<DD><CODE>cx</CODE> - X-coordinate of the center point.<DD><CODE>cy</CODE> - Y-coordinate of the center point.</DL>
void <B>setStrokeColor</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> value)</PRE>
<DL>
<DD>Sets the stroke color. This should default to <AHREF="../../../com/mxgraph/util/mxConstants.html#NONE"><CODE>mxConstants.NONE</CODE></A>
if unset.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>value</CODE> - Hex representation of the color or <AHREF="../../../com/mxgraph/util/mxConstants.html#NONE"><CODE>mxConstants.NONE</CODE></A>.</DL>
</DD>
</DL>
<HR>
<ANAME="setDashed(boolean)"><!----></A><H3>
setDashed</H3>
<PRE>
void <B>setDashed</B>(boolean value)</PRE>
<DL>
<DD>Sets the dashed state. This should default to false if unset.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>value</CODE> - Boolean representing the dashed state.</DL>
void <B>setDashPattern</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> value)</PRE>
<DL>
<DD>Sets the dash pattern. This should default to "3 3" if unset.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>value</CODE> - Space separated list of floats representing the dash
pattern. The value should be multiplied by the current scale.</DL>
void <B>setLineCap</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> value)</PRE>
<DL>
<DD>Sets the linecap. This should default to "flat" if unset.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>value</CODE> - "flat", "square" or "round".</DL>
void <B>setLineJoin</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> value)</PRE>
<DL>
<DD>Sets the linejoin. This should default to "miter" if unset.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>value</CODE> - "miter", "round" or "bevel".</DL>
void <B>setFontColor</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> value)</PRE>
<DL>
<DD>Default value "#000000".
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>value</CODE> - Hex representation of the color or <AHREF="../../../com/mxgraph/util/mxConstants.html#NONE"><CODE>mxConstants.NONE</CODE></A>.</DL>
void <B>setFontFamily</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> value)</PRE>
<DL>
<DD>Default value <AHREF="../../../com/mxgraph/util/mxConstants.html#DEFAULT_FONTFAMILY"><CODE>mxConstants.DEFAULT_FONTFAMILY</CODE></A>.
void <B>setFillColor</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> value)</PRE>
<DL>
<DD>Default value <AHREF="../../../com/mxgraph/util/mxConstants.html#NONE"><CODE>mxConstants.NONE</CODE></A>.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>value</CODE> - Hex representation of the color or <AHREF="../../../com/mxgraph/util/mxConstants.html#NONE"><CODE>mxConstants.NONE</CODE></A>.</DL>
void <B>setGradient</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> 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,
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> direction)</PRE>
<DL>
<DD>Prepares the canvas to draw a gradient.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>color1</CODE> - <DD><CODE>color2</CODE> - <DD><CODE>x</CODE> - <DD><CODE>y</CODE> - <DD><CODE>w</CODE> - <DD><CODE>h</CODE> - <DD><CODE>direction</CODE> - Direction may be null. Use default value
<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,
<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,
boolean vertical,
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> format)</PRE>
<DL>
<DD>Draws the given string. Possible values for format are empty string for
void <B>shadow</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> value,