maxGraph/dotnet/docs/html/classcom_1_1mxgraph_1_1mxGd...

1918 lines
95 KiB
HTML
Raw Normal View History

2012-05-21 20:32:26 +00:00
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
2013-04-04 11:51:15 +00:00
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<title>mxGraph: com.mxgraph.mxGdiCanvas2D Class Reference</title>
2012-05-21 20:32:26 +00:00
<link href="tabs.css" rel="stylesheet" type="text/css"/>
2013-04-04 11:51:15 +00:00
<link href="doxygen.css" rel="stylesheet" type="text/css" />
2012-05-21 20:32:26 +00:00
</head>
<body>
2013-04-04 11:51:15 +00:00
<div id="top"><!-- do not remove this div! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr style="height: 56px;">
<td style="padding-left: 0.5em;">
<div id="projectname">mxGraph
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- Generated by Doxygen 1.7.6.1 -->
<div id="navrow1" class="tabs">
<ul class="tablist">
<li><a href="index.html"><span>Main&#160;Page</span></a></li>
<li><a href="namespaces.html"><span>Namespaces</span></a></li>
2012-05-21 20:32:26 +00:00
<li class="current"><a href="annotated.html"><span>Classes</span></a></li>
<li><a href="dirs.html"><span>Directories</span></a></li>
</ul>
</div>
2013-04-04 11:51:15 +00:00
<div id="navrow2" class="tabs2">
<ul class="tablist">
<li><a href="annotated.html"><span>Class&#160;List</span></a></li>
<li><a href="hierarchy.html"><span>Class&#160;Hierarchy</span></a></li>
<li><a href="functions.html"><span>Class&#160;Members</span></a></li>
2012-05-21 20:32:26 +00:00
</ul>
</div>
2013-04-04 11:51:15 +00:00
<div id="nav-path" class="navpath">
<ul>
<li class="navelem"><b>com</b> </li>
<li class="navelem"><a class="el" href="namespacecom_1_1mxgraph.html">mxgraph</a> </li>
<li class="navelem"><a class="el" href="classcom_1_1mxgraph_1_1mxGdiCanvas2D.html">mxGdiCanvas2D</a> </li>
</ul>
2012-05-21 20:32:26 +00:00
</div>
</div>
2013-04-04 11:51:15 +00:00
<div class="header">
<div class="summary">
<a href="#nested-classes">Classes</a> &#124;
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-static-methods">Static Public Member Functions</a> &#124;
<a href="#pro-methods">Protected Member Functions</a> &#124;
<a href="#pro-attribs">Protected Attributes</a> &#124;
<a href="#properties">Properties</a> </div>
<div class="headertitle">
<div class="title">com.mxgraph.mxGdiCanvas2D Class Reference</div> </div>
</div><!--header-->
2012-05-21 20:32:26 +00:00
<div class="contents">
2013-04-04 11:51:15 +00:00
<!-- doxytag: class="com::mxgraph::mxGdiCanvas2D" --><!-- doxytag: inherits="com::mxgraph::mxICanvas2D" -->
2012-05-21 20:32:26 +00:00
<p>Used for exporting images. To render to an image from a given XML string, graph size and and background color, the following code is used: </p>
2013-04-04 11:51:15 +00:00
<div class="fragment"><pre class="fragment"> <a class="code" href="classcom_1_1mxgraph_1_1mxGdiCanvas2D.html#a1f4bdd89121fc399ef9aaee7efb678dd" title="Draws an image.">Image</a> image = mxUtils.CreateImage(width, height, background);
2012-05-21 20:32:26 +00:00
Graphics g = Graphics.FromImage(image);
g.SmoothingMode = SmoothingMode.HighQuality;
2013-04-04 11:51:15 +00:00
mxSaxOutputHandler handler = <span class="keyword">new</span> mxSaxOutputHandler(<span class="keyword">new</span> <a class="code" href="classcom_1_1mxgraph_1_1mxGdiCanvas2D.html#a33b4d37b4d8978f0d63ae01cfeb76110">mxGdiCanvas2D</a>(g));
2012-05-21 20:32:26 +00:00
handler.Read(<span class="keyword">new</span> XmlTextReader(<span class="keyword">new</span> StringReader(xml)));
</pre></div> Text rendering is available for plain text only, with optional word wrapping.
2013-04-04 11:51:15 +00:00
<a href="classcom_1_1mxgraph_1_1mxGdiCanvas2D.html#details">More...</a></p>
2012-05-21 20:32:26 +00:00
<div class="dynheader">
2013-04-04 11:51:15 +00:00
Inheritance diagram for com.mxgraph.mxGdiCanvas2D:</div>
<div class="dyncontent">
2012-05-21 20:32:26 +00:00
<div class="center">
2013-04-04 11:51:15 +00:00
<img src="classcom_1_1mxgraph_1_1mxGdiCanvas2D.png" usemap="#com.mxgraph.mxGdiCanvas2D_map" alt=""/>
<map id="com.mxgraph.mxGdiCanvas2D_map" name="com.mxgraph.mxGdiCanvas2D_map">
<area href="interfacecom_1_1mxgraph_1_1mxICanvas2D.html" title="Defines the requirements for a canvas that paints the vertices and edges of a graph." alt="com.mxgraph.mxICanvas2D" shape="rect" coords="0,0,184,24"/>
2012-05-21 20:32:26 +00:00
</map>
2013-04-04 11:51:15 +00:00
</div></div>
2012-05-21 20:32:26 +00:00
<p><a href="classcom_1_1mxgraph_1_1mxGdiCanvas2D-members.html">List of all members.</a></p>
2013-04-04 11:51:15 +00:00
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="nested-classes"></a>
Classes</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxGdiCanvas2D_1_1CanvasState.html">CanvasState</a></td></tr>
<tr><td colspan="2"><h2><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxGdiCanvas2D.html#a33b4d37b4d8978f0d63ae01cfeb76110">mxGdiCanvas2D</a> (Graphics g)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxGdiCanvas2D.html#aba3e5497fdc1774dfaa9f9ab9b7a1cd0">Save</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxGdiCanvas2D.html#a814e9b2b81a76abd7c678d4000a7bb43">Restore</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxGdiCanvas2D.html#a65e3013a8a068010ee003f0810f17ece">Scale</a> (double value)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the given scale. <a href="#a65e3013a8a068010ee003f0810f17ece"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxGdiCanvas2D.html#a130009b157e38ef664cfc6efb06d3d9a">Translate</a> (double dx, double dy)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Translates the canvas. <a href="#a130009b157e38ef664cfc6efb06d3d9a"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxGdiCanvas2D.html#a547a00923134815b5f994412e2e58b5b">Rotate</a> (double theta, bool flipH, bool flipV, double cx, double cy)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Rotates the canvas. <a href="#a547a00923134815b5f994412e2e58b5b"></a><br/></td></tr>
2013-05-23 16:14:48 +00:00
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxGdiCanvas2D.html#a33c2596b7caccd3237f36adfbbaeb33f">SetShadowOffset</a> (double dx, double dy)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Prepares the canvas to draw a gradient. <a href="#a33c2596b7caccd3237f36adfbbaeb33f"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxGdiCanvas2D.html#a3200cd6c31d9b686f5b45a3073281545">SetGradient</a> (String color1, String color2, double x, double y, double w, double h, String direction, double alpha1, double alpha2)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the given gradient. <a href="#a3200cd6c31d9b686f5b45a3073281545"></a><br/></td></tr>
2013-04-04 11:51:15 +00:00
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxGdiCanvas2D.html#ab822a48aa8fe95d32ff2059bb0d15015">Rect</a> (double x, double y, double w, double h)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Draws a rectangle. <a href="#ab822a48aa8fe95d32ff2059bb0d15015"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxGdiCanvas2D.html#a6a626199019a38407d7466691ec81b72">Roundrect</a> (double x, double y, double w, double h, double dx, double dy)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxGdiCanvas2D.html#a22bde4de96c70227a1597e5b66551dec">Ellipse</a> (double x, double y, double w, double h)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Draws an ellipse. <a href="#a22bde4de96c70227a1597e5b66551dec"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxGdiCanvas2D.html#a1f4bdd89121fc399ef9aaee7efb678dd">Image</a> (double x, double y, double w, double h, String src, bool aspect, bool flipH, bool flipV)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Draws an image. <a href="#a1f4bdd89121fc399ef9aaee7efb678dd"></a><br/></td></tr>
2013-05-23 16:14:48 +00:00
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxGdiCanvas2D.html#a56ff4fad53efea561a7d9c06eb870b7b">Text</a> (double x, double y, double w, double h, string str, string align, string valign, bool wrap, string format, string overflow, bool clip, double rotation)</td></tr>
2013-04-04 11:51:15 +00:00
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxGdiCanvas2D.html#a010db2efe1770074cc4def5f3a47a734">Begin</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxGdiCanvas2D.html#a909bb3cbbea1652b7b4b3d2e1b722100">MoveTo</a> (double x, double y)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxGdiCanvas2D.html#a4474ef9067bfa578880c8dcff3b35fd6">LineTo</a> (double x, double y)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxGdiCanvas2D.html#abba77e7082fb13a550d0b8c55ccf9ecd">QuadTo</a> (double x1, double y1, double x2, double y2)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxGdiCanvas2D.html#a2d7867a4871574767630c789a0f299f6">CurveTo</a> (double x1, double y1, double x2, double y2, double x3, double y3)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxGdiCanvas2D.html#a6df67c96bf3b498c259324db3ecf1ab2">Close</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxGdiCanvas2D.html#adaa5bf6e763708286e95d543ffec2d60">Stroke</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxGdiCanvas2D.html#a37fc24a1506927fadd64da5ea3e97cf8">Fill</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxGdiCanvas2D.html#a62d8902e61b305c18f7ddae7d4a3ef38">FillAndStroke</a> ()</td></tr>
<tr><td colspan="2"><h2><a name="pub-static-methods"></a>
Static Public Member Functions</h2></td></tr>
2013-05-23 16:14:48 +00:00
<tr><td class="memItemLeft" align="right" valign="top">static StringFormat&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxGdiCanvas2D.html#aac69c2e9e8bdedd82232c54aebbe1248">CreateStringFormat</a> (string align, string valign, bool wrap, bool clip)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Creates the specified string format. <a href="#aac69c2e9e8bdedd82232c54aebbe1248"></a><br/></td></tr>
2013-04-04 11:51:15 +00:00
<tr><td colspan="2"><h2><a name="pro-methods"></a>
Protected Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">Color&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxGdiCanvas2D.html#ad2eabc64cfb68ac7bfeb82039f0891b7">ParseColor</a> (string hex)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Helper method that uses <a class="el" href="">mxUtils#parseColor(String)</a>. Subclassers. <a href="#ad2eabc64cfb68ac7bfeb82039f0891b7"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxGdiCanvas2D.html#a545ca08f89bc3b30a51a9a1e2293c233">DrawImage</a> (<a class="el" href="classcom_1_1mxgraph_1_1mxGdiCanvas2D.html#a1f4bdd89121fc399ef9aaee7efb678dd">Image</a> image, Rectangle bounds)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Implements the call to the graphics API. <a href="#a545ca08f89bc3b30a51a9a1e2293c233"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classcom_1_1mxgraph_1_1mxGdiCanvas2D.html#a1f4bdd89121fc399ef9aaee7efb678dd">Image</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxGdiCanvas2D.html#a0255e74ab423a23211e537da612870c3">LoadImage</a> (String src)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Loads the specified image. <a href="#a0255e74ab423a23211e537da612870c3"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">Rectangle&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxGdiCanvas2D.html#a1b1c447e69312044197c9d05b90a3718">GetImageBounds</a> (<a class="el" href="classcom_1_1mxgraph_1_1mxGdiCanvas2D.html#a1f4bdd89121fc399ef9aaee7efb678dd">Image</a> img, double x, double y, double w, double h, bool aspect)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the bounds for the given image. <a href="#a1b1c447e69312044197c9d05b90a3718"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">Size&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxGdiCanvas2D.html#abfcef593b37fcd7bb477e4a18eae2ec5">GetImageSize</a> (<a class="el" href="classcom_1_1mxgraph_1_1mxGdiCanvas2D.html#a1f4bdd89121fc399ef9aaee7efb678dd">Image</a> image)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the size for the given image. <a href="#abfcef593b37fcd7bb477e4a18eae2ec5"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxGdiCanvas2D.html#a4326b6f37d8ff0fba87daf1fe4a768be">ConfigureImageGraphics</a> (double x, double y, double w, double h, bool flipH, bool flipV)</td></tr>
2013-05-23 16:14:48 +00:00
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a398df9deb1eb0ab38e30ba397501f24f"></a><!-- doxytag: member="com::mxgraph::mxGdiCanvas2D::GetMargin" ref="a398df9deb1eb0ab38e30ba397501f24f" args="(String align, String valign)" -->
PointF&#160;</td><td class="memItemRight" valign="bottom"><b>GetMargin</b> (String align, String valign)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxGdiCanvas2D.html#ad909de790ca4095195000ade2f147f53">PaintCurrentPath</a> (bool filled, bool stroked)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxGdiCanvas2D.html#ae161aeea63d8e990b3ac951161444658">PaintShadow</a> (bool filled, bool stroked)</td></tr>
2013-04-04 11:51:15 +00:00
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxGdiCanvas2D.html#ab980554ca8e34d6c3ae9982784ec8944">UpdateFont</a> ()</td></tr>
2013-05-23 16:14:48 +00:00
<tr><td class="memItemLeft" align="right" valign="top">Font&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxGdiCanvas2D.html#a2e4a563bbfeaa78397eb23fbc57e8fc6">CreateFont</a> (String family, <a class="el" href="classcom_1_1mxgraph_1_1mxGdiCanvas2D.html#a2a90a486a7293b7734f373083a6b2699">FontStyle</a> style, float size)</td></tr>
2013-04-04 11:51:15 +00:00
<tr><td class="memItemLeft" align="right" valign="top">String&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxGdiCanvas2D.html#aa90f692f6987232ac3979ef92a719ff3">GetFontName</a> (String family)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns a font name for the given font family. <a href="#aa90f692f6987232ac3979ef92a719ff3"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxGdiCanvas2D.html#a1197f3d89dd3b3096fa4263e8625d1d9">UpdatePen</a> ()</td></tr>
<tr><td colspan="2"><h2><a name="pro-attribs"></a>
Protected Attributes</h2></td></tr>
2013-05-23 16:14:48 +00:00
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxGdiCanvas2D.html#a8804b9774e6b3fa1725cb6e9f84681f1">matchHtmlAlignment</a> = true</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">matchHtmlAlignment <a href="#a8804b9774e6b3fa1725cb6e9f84681f1"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxGdiCanvas2D.html#ac485517367109eb03a795e3b32bb051a">htmlAsPlainText</a> = true</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">htmlAsPlainText <a href="#ac485517367109eb03a795e3b32bb051a"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxGdiCanvas2D.html#af71fba06949cacc544db4e30e21b1801">wrapPlainText</a> = true</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">htmlAsPlainText <a href="#af71fba06949cacc544db4e30e21b1801"></a><br/></td></tr>
2013-04-04 11:51:15 +00:00
<tr><td class="memItemLeft" align="right" valign="top">Graphics&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxGdiCanvas2D.html#aafdc6db819899dc2146b7d8fdc1d73f2">graphics</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classcom_1_1mxgraph_1_1mxGdiCanvas2D_1_1CanvasState.html">CanvasState</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxGdiCanvas2D.html#a746f54d7f830ee1832d3ac163c152670">state</a> = new <a class="el" href="classcom_1_1mxgraph_1_1mxGdiCanvas2D_1_1CanvasState.html">CanvasState</a>()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">Stack&lt; <a class="el" href="classcom_1_1mxgraph_1_1mxGdiCanvas2D_1_1CanvasState.html">CanvasState</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxGdiCanvas2D.html#a24837f31b73bf45e8b06b56003c84abc">stack</a> = new Stack&lt;<a class="el" href="classcom_1_1mxgraph_1_1mxGdiCanvas2D_1_1CanvasState.html">CanvasState</a>&gt;()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">GraphicsPath&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxGdiCanvas2D.html#a055f82d17e561b60400a67d6c487a6eb">currentPath</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classcom_1_1mxgraph_1_1mxPoint.html">mxPoint</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxGdiCanvas2D.html#a9ea5490a18725bb4a07d66d74d14a9bb">lastPoint</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Holds the last point of a moveTo or lineTo operation to determine if the. <a href="#a9ea5490a18725bb4a07d66d74d14a9bb"></a><br/></td></tr>
2013-05-23 16:14:48 +00:00
<tr><td class="memItemLeft" align="right" valign="top">Font&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxGdiCanvas2D.html#aa42ef6280ec4e1243450032ad20231f2">lastFont</a> = null</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">FontCaching. <a href="#aa42ef6280ec4e1243450032ad20231f2"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classcom_1_1mxgraph_1_1mxGdiCanvas2D.html#a2a90a486a7293b7734f373083a6b2699">FontStyle</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxGdiCanvas2D.html#acbadc97b529f42bf6e32a9c57155877b">lastFontStyle</a> = 0</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">FontCaching. <a href="#acbadc97b529f42bf6e32a9c57155877b"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxGdiCanvas2D.html#a2a768d3fac3583bb3ef50c613c86cc39">lastFontSize</a> = 0</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">FontCaching. <a href="#a2a768d3fac3583bb3ef50c613c86cc39"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">String&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxGdiCanvas2D.html#a526f211d06bc265f62324ddd680e2ed6">lastFontFamily</a> = &quot;&quot;</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">FontCaching. <a href="#a526f211d06bc265f62324ddd680e2ed6"></a><br/></td></tr>
2013-04-04 11:51:15 +00:00
<tr><td colspan="2"><h2><a name="properties"></a>
Properties</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxGdiCanvas2D.html#a1d84ac7a9b825717f952aaddc337ee60">StrokeWidth</a><code> [set]</code></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the strokewidth. <a href="#a1d84ac7a9b825717f952aaddc337ee60"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxGdiCanvas2D.html#af536ce6a4f0f0bc604eab60bf992d91e">StrokeColor</a><code> [set]</code></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxGdiCanvas2D.html#a28a1fbe93907c5b8715c2b75d4e5c21b">Dashed</a><code> [set]</code></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Specifies if lines are dashed. <a href="#a28a1fbe93907c5b8715c2b75d4e5c21b"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxGdiCanvas2D.html#ad4f2e4c72a6eb2725b2f19f023a199b5">DashPattern</a><code> [set]</code></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the dashpattern. <a href="#ad4f2e4c72a6eb2725b2f19f023a199b5"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxGdiCanvas2D.html#a25693d3ea758b8cc1eac976e8c8b7d14">LineCap</a><code> [set]</code></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the linecap. <a href="#a25693d3ea758b8cc1eac976e8c8b7d14"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxGdiCanvas2D.html#aee7b7df9b646f37481b8dfc60588d116">LineJoin</a><code> [set]</code></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the linejoin. <a href="#aee7b7df9b646f37481b8dfc60588d116"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxGdiCanvas2D.html#a8aba9889a63a2f1f8fb8b60fbce13e11">MiterLimit</a><code> [set]</code></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the miterlimit. <a href="#a8aba9889a63a2f1f8fb8b60fbce13e11"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxGdiCanvas2D.html#ac55bc7b0f9101d61b7d6da53546f2db5">FontSize</a><code> [set]</code></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the fontsize. <a href="#ac55bc7b0f9101d61b7d6da53546f2db5"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxGdiCanvas2D.html#a5b48bca61882f9d2b7e37884a8f035f1">FontColor</a><code> [set]</code></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the fontcolor. <a href="#a5b48bca61882f9d2b7e37884a8f035f1"></a><br/></td></tr>
2013-05-23 16:14:48 +00:00
<tr><td class="memItemLeft" align="right" valign="top">string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxGdiCanvas2D.html#a902c214d531acf6840d94b71ff086594">FontBackgroundColor</a><code> [set]</code></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Default value 0. See <a class="el" href="classcom_1_1mxgraph_1_1mxConstants.html#a3649b54150b656e80d8e1ce7b16008c8">mxConstants#STYLE_FONTSTYLE</a>. <a href="#a902c214d531acf6840d94b71ff086594"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxGdiCanvas2D.html#a94050853cf69b0779d839538fc38f19d">FontBorderColor</a><code> [set]</code></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Default value 0. See <a class="el" href="classcom_1_1mxgraph_1_1mxConstants.html#a3649b54150b656e80d8e1ce7b16008c8">mxConstants#STYLE_FONTSTYLE</a>. <a href="#a94050853cf69b0779d839538fc38f19d"></a><br/></td></tr>
2013-04-04 11:51:15 +00:00
<tr><td class="memItemLeft" align="right" valign="top">string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxGdiCanvas2D.html#a79e4ffd22e0cb6b86cd671a65ce27e30">FontFamily</a><code> [set]</code></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the font family. <a href="#a79e4ffd22e0cb6b86cd671a65ce27e30"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxGdiCanvas2D.html#a2a90a486a7293b7734f373083a6b2699">FontStyle</a><code> [set]</code></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the given fontstyle. <a href="#a2a90a486a7293b7734f373083a6b2699"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxGdiCanvas2D.html#a4ef49d57fa12764083f987ca32d13d6e">Alpha</a><code> [set]</code></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the given alpha. <a href="#a4ef49d57fa12764083f987ca32d13d6e"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxGdiCanvas2D.html#a088edb66bed6448341b4add4aa67d523">FillColor</a><code> [set]</code></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the given fillcolor. <a href="#a088edb66bed6448341b4add4aa67d523"></a><br/></td></tr>
2013-05-23 16:14:48 +00:00
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxGdiCanvas2D.html#a048c5b57cd3ed270f383bce1b925b96b">Shadow</a><code> [set]</code></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Default value <a class="el" href="classcom_1_1mxgraph_1_1mxConstants.html#a3c2389aa5ac4ef2c05f01beb97498cf3">mxConstants#NONE</a>. <a href="#a048c5b57cd3ed270f383bce1b925b96b"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxGdiCanvas2D.html#a74ce3a2086ea405bc062dd935b504ffe">ShadowColor</a><code> [set]</code></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Default value <a class="el" href="classcom_1_1mxgraph_1_1mxConstants.html#a3c2389aa5ac4ef2c05f01beb97498cf3">mxConstants#NONE</a>. <a href="#a74ce3a2086ea405bc062dd935b504ffe"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxGdiCanvas2D.html#a8657f97e7ae5e4d95121945fa62f78fc">ShadowAlpha</a><code> [set]</code></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Default value 1. This method may add rendering overhead and should be used with care. <a href="#a8657f97e7ae5e4d95121945fa62f78fc"></a><br/></td></tr>
2012-05-21 20:32:26 +00:00
</table>
2013-04-04 11:51:15 +00:00
<hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
<div class="textblock"><p>Used for exporting images. To render to an image from a given XML string, graph size and and background color, the following code is used: </p>
<div class="fragment"><pre class="fragment"> <a class="code" href="classcom_1_1mxgraph_1_1mxGdiCanvas2D.html#a1f4bdd89121fc399ef9aaee7efb678dd" title="Draws an image.">Image</a> image = mxUtils.CreateImage(width, height, background);
2012-05-21 20:32:26 +00:00
Graphics g = Graphics.FromImage(image);
g.SmoothingMode = SmoothingMode.HighQuality;
2013-04-04 11:51:15 +00:00
mxSaxOutputHandler handler = <span class="keyword">new</span> mxSaxOutputHandler(<span class="keyword">new</span> <a class="code" href="classcom_1_1mxgraph_1_1mxGdiCanvas2D.html#a33b4d37b4d8978f0d63ae01cfeb76110">mxGdiCanvas2D</a>(g));
2012-05-21 20:32:26 +00:00
handler.Read(<span class="keyword">new</span> XmlTextReader(<span class="keyword">new</span> StringReader(xml)));
</pre></div> <p>Text rendering is available for plain text only, with optional word wrapping. </p>
2013-04-04 11:51:15 +00:00
</div><hr/><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="a33b4d37b4d8978f0d63ae01cfeb76110"></a><!-- doxytag: member="com::mxgraph::mxGdiCanvas2D::mxGdiCanvas2D" ref="a33b4d37b4d8978f0d63ae01cfeb76110" args="(Graphics g)" -->
2012-05-21 20:32:26 +00:00
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
2013-04-04 11:51:15 +00:00
<td class="memname"><a class="el" href="classcom_1_1mxgraph_1_1mxGdiCanvas2D.html#a33b4d37b4d8978f0d63ae01cfeb76110">com.mxgraph.mxGdiCanvas2D.mxGdiCanvas2D</a> </td>
2012-05-21 20:32:26 +00:00
<td>(</td>
2013-04-04 11:51:15 +00:00
<td class="paramtype">Graphics&#160;</td>
<td class="paramname"><em>g</em></td><td>)</td>
2012-05-21 20:32:26 +00:00
<td><code> [inline]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Constructs a new graphics export canvas. </p>
</div>
</div>
<hr/><h2>Member Function Documentation</h2>
2013-04-04 11:51:15 +00:00
<a class="anchor" id="a010db2efe1770074cc4def5f3a47a734"></a><!-- doxytag: member="com::mxgraph::mxGdiCanvas2D::Begin" ref="a010db2efe1770074cc4def5f3a47a734" args="()" -->
2012-05-21 20:32:26 +00:00
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
2013-04-04 11:51:15 +00:00
<td class="memname">void <a class="el" href="classcom_1_1mxgraph_1_1mxGdiCanvas2D.html#a010db2efe1770074cc4def5f3a47a734">com.mxgraph.mxGdiCanvas2D.Begin</a> </td>
2012-05-21 20:32:26 +00:00
<td>(</td>
2013-04-04 11:51:15 +00:00
<td class="paramname"></td><td>)</td>
2012-05-21 20:32:26 +00:00
<td><code> [inline]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
2013-04-04 11:51:15 +00:00
<p>Implements <a class="el" href="interfacecom_1_1mxgraph_1_1mxICanvas2D.html#a28f01e9e99b9e5444b74fa236f3ceb59">com.mxgraph.mxICanvas2D</a>.</p>
2012-05-21 20:32:26 +00:00
</div>
</div>
2013-04-04 11:51:15 +00:00
<a class="anchor" id="a6df67c96bf3b498c259324db3ecf1ab2"></a><!-- doxytag: member="com::mxgraph::mxGdiCanvas2D::Close" ref="a6df67c96bf3b498c259324db3ecf1ab2" args="()" -->
2012-05-21 20:32:26 +00:00
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
2013-04-04 11:51:15 +00:00
<td class="memname">void <a class="el" href="classcom_1_1mxgraph_1_1mxGdiCanvas2D.html#a6df67c96bf3b498c259324db3ecf1ab2">com.mxgraph.mxGdiCanvas2D.Close</a> </td>
2012-05-21 20:32:26 +00:00
<td>(</td>
2013-04-04 11:51:15 +00:00
<td class="paramname"></td><td>)</td>
2012-05-21 20:32:26 +00:00
<td><code> [inline]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Closes the current path. </p>
2013-04-04 11:51:15 +00:00
<p>Implements <a class="el" href="interfacecom_1_1mxgraph_1_1mxICanvas2D.html#a39ed7ff000df45118b5866c7fb09cc42">com.mxgraph.mxICanvas2D</a>.</p>
2012-05-21 20:32:26 +00:00
</div>
</div>
2013-04-04 11:51:15 +00:00
<a class="anchor" id="a4326b6f37d8ff0fba87daf1fe4a768be"></a><!-- doxytag: member="com::mxgraph::mxGdiCanvas2D::ConfigureImageGraphics" ref="a4326b6f37d8ff0fba87daf1fe4a768be" args="(double x, double y, double w, double h, bool flipH, bool flipV)" -->
2012-05-21 20:32:26 +00:00
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
2013-04-04 11:51:15 +00:00
<td class="memname">void <a class="el" href="classcom_1_1mxgraph_1_1mxGdiCanvas2D.html#a4326b6f37d8ff0fba87daf1fe4a768be">com.mxgraph.mxGdiCanvas2D.ConfigureImageGraphics</a> </td>
2012-05-21 20:32:26 +00:00
<td>(</td>
2013-04-04 11:51:15 +00:00
<td class="paramtype">double&#160;</td>
<td class="paramname"><em>x</em>, </td>
2012-05-21 20:32:26 +00:00
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
2013-04-04 11:51:15 +00:00
<td class="paramtype">double&#160;</td>
<td class="paramname"><em>y</em>, </td>
2012-05-21 20:32:26 +00:00
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
2013-04-04 11:51:15 +00:00
<td class="paramtype">double&#160;</td>
<td class="paramname"><em>w</em>, </td>
2012-05-21 20:32:26 +00:00
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
2013-04-04 11:51:15 +00:00
<td class="paramtype">double&#160;</td>
<td class="paramname"><em>h</em>, </td>
2012-05-21 20:32:26 +00:00
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
2013-04-04 11:51:15 +00:00
<td class="paramtype">bool&#160;</td>
<td class="paramname"><em>flipH</em>, </td>
2012-05-21 20:32:26 +00:00
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
2013-04-04 11:51:15 +00:00
<td class="paramtype">bool&#160;</td>
<td class="paramname"><em>flipV</em>&#160;</td>
2012-05-21 20:32:26 +00:00
</tr>
<tr>
<td></td>
<td>)</td>
2013-04-04 11:51:15 +00:00
<td></td><td><code> [inline, protected]</code></td>
2012-05-21 20:32:26 +00:00
</tr>
</table>
</div>
<div class="memdoc">
<p>Creates a graphic instance for rendering an image. </p>
</div>
</div>
2013-05-23 16:14:48 +00:00
<a class="anchor" id="a2e4a563bbfeaa78397eb23fbc57e8fc6"></a><!-- doxytag: member="com::mxgraph::mxGdiCanvas2D::CreateFont" ref="a2e4a563bbfeaa78397eb23fbc57e8fc6" args="(String family, FontStyle style, float size)" -->
2012-05-21 20:32:26 +00:00
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
2013-05-23 16:14:48 +00:00
<td class="memname">Font <a class="el" href="classcom_1_1mxgraph_1_1mxGdiCanvas2D.html#a2e4a563bbfeaa78397eb23fbc57e8fc6">com.mxgraph.mxGdiCanvas2D.CreateFont</a> </td>
2012-05-21 20:32:26 +00:00
<td>(</td>
2013-04-04 11:51:15 +00:00
<td class="paramtype">String&#160;</td>
<td class="paramname"><em>family</em>, </td>
2012-05-21 20:32:26 +00:00
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
2013-04-04 11:51:15 +00:00
<td class="paramtype"><a class="el" href="classcom_1_1mxgraph_1_1mxGdiCanvas2D.html#a2a90a486a7293b7734f373083a6b2699">FontStyle</a>&#160;</td>
<td class="paramname"><em>style</em>, </td>
2012-05-21 20:32:26 +00:00
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
2013-05-23 16:14:48 +00:00
<td class="paramtype">float&#160;</td>
2013-04-04 11:51:15 +00:00
<td class="paramname"><em>size</em>&#160;</td>
2012-05-21 20:32:26 +00:00
</tr>
<tr>
<td></td>
<td>)</td>
2013-04-04 11:51:15 +00:00
<td></td><td><code> [inline, protected]</code></td>
2012-05-21 20:32:26 +00:00
</tr>
</table>
</div>
<div class="memdoc">
<p>Hook for subclassers to implement font caching. </p>
</div>
</div>
2013-05-23 16:14:48 +00:00
<a class="anchor" id="aac69c2e9e8bdedd82232c54aebbe1248"></a><!-- doxytag: member="com::mxgraph::mxGdiCanvas2D::CreateStringFormat" ref="aac69c2e9e8bdedd82232c54aebbe1248" args="(string align, string valign, bool wrap, bool clip)" -->
2012-05-21 20:32:26 +00:00
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
2013-05-23 16:14:48 +00:00
<td class="memname">static StringFormat <a class="el" href="classcom_1_1mxgraph_1_1mxGdiCanvas2D.html#aac69c2e9e8bdedd82232c54aebbe1248">com.mxgraph.mxGdiCanvas2D.CreateStringFormat</a> </td>
2012-05-21 20:32:26 +00:00
<td>(</td>
2013-04-04 11:51:15 +00:00
<td class="paramtype">string&#160;</td>
<td class="paramname"><em>align</em>, </td>
2012-05-21 20:32:26 +00:00
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
2013-04-04 11:51:15 +00:00
<td class="paramtype">string&#160;</td>
<td class="paramname"><em>valign</em>, </td>
2012-05-21 20:32:26 +00:00
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
2013-04-04 11:51:15 +00:00
<td class="paramtype">bool&#160;</td>
2013-05-23 16:14:48 +00:00
<td class="paramname"><em>wrap</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">bool&#160;</td>
<td class="paramname"><em>clip</em>&#160;</td>
2012-05-21 20:32:26 +00:00
</tr>
<tr>
<td></td>
<td>)</td>
2013-04-04 11:51:15 +00:00
<td></td><td><code> [inline, static]</code></td>
2012-05-21 20:32:26 +00:00
</tr>
</table>
</div>
<div class="memdoc">
<p>Creates the specified string format. </p>
</div>
</div>
2013-04-04 11:51:15 +00:00
<a class="anchor" id="a2d7867a4871574767630c789a0f299f6"></a><!-- doxytag: member="com::mxgraph::mxGdiCanvas2D::CurveTo" ref="a2d7867a4871574767630c789a0f299f6" args="(double x1, double y1, double x2, double y2, double x3, double y3)" -->
2012-05-21 20:32:26 +00:00
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
2013-04-04 11:51:15 +00:00
<td class="memname">void <a class="el" href="classcom_1_1mxgraph_1_1mxGdiCanvas2D.html#a2d7867a4871574767630c789a0f299f6">com.mxgraph.mxGdiCanvas2D.CurveTo</a> </td>
2012-05-21 20:32:26 +00:00
<td>(</td>
2013-04-04 11:51:15 +00:00
<td class="paramtype">double&#160;</td>
<td class="paramname"><em>x1</em>, </td>
2012-05-21 20:32:26 +00:00
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
2013-04-04 11:51:15 +00:00
<td class="paramtype">double&#160;</td>
<td class="paramname"><em>y1</em>, </td>
2012-05-21 20:32:26 +00:00
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
2013-04-04 11:51:15 +00:00
<td class="paramtype">double&#160;</td>
<td class="paramname"><em>x2</em>, </td>
2012-05-21 20:32:26 +00:00
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
2013-04-04 11:51:15 +00:00
<td class="paramtype">double&#160;</td>
<td class="paramname"><em>y2</em>, </td>
2012-05-21 20:32:26 +00:00
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
2013-04-04 11:51:15 +00:00
<td class="paramtype">double&#160;</td>
<td class="paramname"><em>x3</em>, </td>
2012-05-21 20:32:26 +00:00
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
2013-04-04 11:51:15 +00:00
<td class="paramtype">double&#160;</td>
<td class="paramname"><em>y3</em>&#160;</td>
2012-05-21 20:32:26 +00:00
</tr>
<tr>
<td></td>
<td>)</td>
2013-04-04 11:51:15 +00:00
<td></td><td><code> [inline]</code></td>
2012-05-21 20:32:26 +00:00
</tr>
</table>
</div>
<div class="memdoc">
2013-04-04 11:51:15 +00:00
<p>Implements <a class="el" href="interfacecom_1_1mxgraph_1_1mxICanvas2D.html#a70fe6dfbb3701ec9966a2d56c15748f3">com.mxgraph.mxICanvas2D</a>.</p>
2012-05-21 20:32:26 +00:00
</div>
</div>
2013-04-04 11:51:15 +00:00
<a class="anchor" id="a545ca08f89bc3b30a51a9a1e2293c233"></a><!-- doxytag: member="com::mxgraph::mxGdiCanvas2D::DrawImage" ref="a545ca08f89bc3b30a51a9a1e2293c233" args="(Image image, Rectangle bounds)" -->
2012-05-21 20:32:26 +00:00
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
2013-04-04 11:51:15 +00:00
<td class="memname">void <a class="el" href="classcom_1_1mxgraph_1_1mxGdiCanvas2D.html#a545ca08f89bc3b30a51a9a1e2293c233">com.mxgraph.mxGdiCanvas2D.DrawImage</a> </td>
2012-05-21 20:32:26 +00:00
<td>(</td>
2013-04-04 11:51:15 +00:00
<td class="paramtype"><a class="el" href="classcom_1_1mxgraph_1_1mxGdiCanvas2D.html#a1f4bdd89121fc399ef9aaee7efb678dd">Image</a>&#160;</td>
<td class="paramname"><em>image</em>, </td>
2012-05-21 20:32:26 +00:00
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
2013-04-04 11:51:15 +00:00
<td class="paramtype">Rectangle&#160;</td>
<td class="paramname"><em>bounds</em>&#160;</td>
2012-05-21 20:32:26 +00:00
</tr>
<tr>
<td></td>
<td>)</td>
2013-04-04 11:51:15 +00:00
<td></td><td><code> [inline, protected]</code></td>
2012-05-21 20:32:26 +00:00
</tr>
</table>
</div>
<div class="memdoc">
<p>Implements the call to the graphics API. </p>
</div>
</div>
2013-04-04 11:51:15 +00:00
<a class="anchor" id="a22bde4de96c70227a1597e5b66551dec"></a><!-- doxytag: member="com::mxgraph::mxGdiCanvas2D::Ellipse" ref="a22bde4de96c70227a1597e5b66551dec" args="(double x, double y, double w, double h)" -->
2012-05-21 20:32:26 +00:00
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
2013-04-04 11:51:15 +00:00
<td class="memname">void <a class="el" href="classcom_1_1mxgraph_1_1mxGdiCanvas2D.html#a22bde4de96c70227a1597e5b66551dec">com.mxgraph.mxGdiCanvas2D.Ellipse</a> </td>
2012-05-21 20:32:26 +00:00
<td>(</td>
2013-04-04 11:51:15 +00:00
<td class="paramtype">double&#160;</td>
<td class="paramname"><em>x</em>, </td>
2012-05-21 20:32:26 +00:00
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
2013-04-04 11:51:15 +00:00
<td class="paramtype">double&#160;</td>
<td class="paramname"><em>y</em>, </td>
2012-05-21 20:32:26 +00:00
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
2013-04-04 11:51:15 +00:00
<td class="paramtype">double&#160;</td>
<td class="paramname"><em>w</em>, </td>
2012-05-21 20:32:26 +00:00
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
2013-04-04 11:51:15 +00:00
<td class="paramtype">double&#160;</td>
<td class="paramname"><em>h</em>&#160;</td>
2012-05-21 20:32:26 +00:00
</tr>
<tr>
<td></td>
<td>)</td>
2013-04-04 11:51:15 +00:00
<td></td><td><code> [inline]</code></td>
2012-05-21 20:32:26 +00:00
</tr>
</table>
</div>
<div class="memdoc">
<p>Draws an ellipse. </p>
2013-04-04 11:51:15 +00:00
<p>Implements <a class="el" href="interfacecom_1_1mxgraph_1_1mxICanvas2D.html#acd713917990aac9f5ddfaffa8ef4e8f4">com.mxgraph.mxICanvas2D</a>.</p>
2012-05-21 20:32:26 +00:00
</div>
</div>
2013-04-04 11:51:15 +00:00
<a class="anchor" id="a37fc24a1506927fadd64da5ea3e97cf8"></a><!-- doxytag: member="com::mxgraph::mxGdiCanvas2D::Fill" ref="a37fc24a1506927fadd64da5ea3e97cf8" args="()" -->
2012-05-21 20:32:26 +00:00
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
2013-04-04 11:51:15 +00:00
<td class="memname">void <a class="el" href="classcom_1_1mxgraph_1_1mxGdiCanvas2D.html#a37fc24a1506927fadd64da5ea3e97cf8">com.mxgraph.mxGdiCanvas2D.Fill</a> </td>
2012-05-21 20:32:26 +00:00
<td>(</td>
2013-04-04 11:51:15 +00:00
<td class="paramname"></td><td>)</td>
2012-05-21 20:32:26 +00:00
<td><code> [inline]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
2013-04-04 11:51:15 +00:00
<p>Implements <a class="el" href="interfacecom_1_1mxgraph_1_1mxICanvas2D.html#a304531d4025c3a00b17fcf8752cfc135">com.mxgraph.mxICanvas2D</a>.</p>
2012-05-21 20:32:26 +00:00
</div>
</div>
2013-04-04 11:51:15 +00:00
<a class="anchor" id="a62d8902e61b305c18f7ddae7d4a3ef38"></a><!-- doxytag: member="com::mxgraph::mxGdiCanvas2D::FillAndStroke" ref="a62d8902e61b305c18f7ddae7d4a3ef38" args="()" -->
2012-05-21 20:32:26 +00:00
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
2013-04-04 11:51:15 +00:00
<td class="memname">void <a class="el" href="classcom_1_1mxgraph_1_1mxGdiCanvas2D.html#a62d8902e61b305c18f7ddae7d4a3ef38">com.mxgraph.mxGdiCanvas2D.FillAndStroke</a> </td>
2012-05-21 20:32:26 +00:00
<td>(</td>
2013-04-04 11:51:15 +00:00
<td class="paramname"></td><td>)</td>
2012-05-21 20:32:26 +00:00
<td><code> [inline]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
2013-04-04 11:51:15 +00:00
<p>Implements <a class="el" href="interfacecom_1_1mxgraph_1_1mxICanvas2D.html#ae97b96672ee78e377b59423e20de7625">com.mxgraph.mxICanvas2D</a>.</p>
2012-05-21 20:32:26 +00:00
2012-12-18 13:09:38 +00:00
</div>
</div>
2013-04-04 11:51:15 +00:00
<a class="anchor" id="aa90f692f6987232ac3979ef92a719ff3"></a><!-- doxytag: member="com::mxgraph::mxGdiCanvas2D::GetFontName" ref="aa90f692f6987232ac3979ef92a719ff3" args="(String family)" -->
2012-12-18 13:09:38 +00:00
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
2013-04-04 11:51:15 +00:00
<td class="memname">String <a class="el" href="classcom_1_1mxgraph_1_1mxGdiCanvas2D.html#aa90f692f6987232ac3979ef92a719ff3">com.mxgraph.mxGdiCanvas2D.GetFontName</a> </td>
2012-12-18 13:09:38 +00:00
<td>(</td>
2013-04-04 11:51:15 +00:00
<td class="paramtype">String&#160;</td>
<td class="paramname"><em>family</em></td><td>)</td>
2012-12-18 13:09:38 +00:00
<td><code> [inline, protected]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Returns a font name for the given font family. </p>
2012-05-21 20:32:26 +00:00
</div>
</div>
2013-04-04 11:51:15 +00:00
<a class="anchor" id="a1b1c447e69312044197c9d05b90a3718"></a><!-- doxytag: member="com::mxgraph::mxGdiCanvas2D::GetImageBounds" ref="a1b1c447e69312044197c9d05b90a3718" args="(Image img, double x, double y, double w, double h, bool aspect)" -->
2012-05-21 20:32:26 +00:00
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
2013-04-04 11:51:15 +00:00
<td class="memname">Rectangle <a class="el" href="classcom_1_1mxgraph_1_1mxGdiCanvas2D.html#a1b1c447e69312044197c9d05b90a3718">com.mxgraph.mxGdiCanvas2D.GetImageBounds</a> </td>
2012-05-21 20:32:26 +00:00
<td>(</td>
2013-04-04 11:51:15 +00:00
<td class="paramtype"><a class="el" href="classcom_1_1mxgraph_1_1mxGdiCanvas2D.html#a1f4bdd89121fc399ef9aaee7efb678dd">Image</a>&#160;</td>
<td class="paramname"><em>img</em>, </td>
2012-05-21 20:32:26 +00:00
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
2013-04-04 11:51:15 +00:00
<td class="paramtype">double&#160;</td>
<td class="paramname"><em>x</em>, </td>
2012-05-21 20:32:26 +00:00
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
2013-04-04 11:51:15 +00:00
<td class="paramtype">double&#160;</td>
<td class="paramname"><em>y</em>, </td>
2012-05-21 20:32:26 +00:00
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
2013-04-04 11:51:15 +00:00
<td class="paramtype">double&#160;</td>
<td class="paramname"><em>w</em>, </td>
2012-05-21 20:32:26 +00:00
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
2013-04-04 11:51:15 +00:00
<td class="paramtype">double&#160;</td>
<td class="paramname"><em>h</em>, </td>
2012-05-21 20:32:26 +00:00
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
2013-04-04 11:51:15 +00:00
<td class="paramtype">bool&#160;</td>
<td class="paramname"><em>aspect</em>&#160;</td>
2012-05-21 20:32:26 +00:00
</tr>
<tr>
<td></td>
<td>)</td>
2013-04-04 11:51:15 +00:00
<td></td><td><code> [inline, protected]</code></td>
2012-05-21 20:32:26 +00:00
</tr>
</table>
</div>
<div class="memdoc">
<p>Returns the bounds for the given image. </p>
</div>
</div>
2013-04-04 11:51:15 +00:00
<a class="anchor" id="abfcef593b37fcd7bb477e4a18eae2ec5"></a><!-- doxytag: member="com::mxgraph::mxGdiCanvas2D::GetImageSize" ref="abfcef593b37fcd7bb477e4a18eae2ec5" args="(Image image)" -->
2012-05-21 20:32:26 +00:00
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
2013-04-04 11:51:15 +00:00
<td class="memname">Size <a class="el" href="classcom_1_1mxgraph_1_1mxGdiCanvas2D.html#abfcef593b37fcd7bb477e4a18eae2ec5">com.mxgraph.mxGdiCanvas2D.GetImageSize</a> </td>
2012-05-21 20:32:26 +00:00
<td>(</td>
2013-04-04 11:51:15 +00:00
<td class="paramtype"><a class="el" href="classcom_1_1mxgraph_1_1mxGdiCanvas2D.html#a1f4bdd89121fc399ef9aaee7efb678dd">Image</a>&#160;</td>
<td class="paramname"><em>image</em></td><td>)</td>
2012-05-21 20:32:26 +00:00
<td><code> [inline, protected]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Returns the size for the given image. </p>
</div>
</div>
2013-05-23 16:14:48 +00:00
<a class="anchor" id="a1f4bdd89121fc399ef9aaee7efb678dd"></a><!-- doxytag: member="com::mxgraph::mxGdiCanvas2D::Image" ref="a1f4bdd89121fc399ef9aaee7efb678dd" args="(double x, double y, double w, double h, String src, bool aspect, bool flipH, bool flipV)" -->
2012-05-21 20:32:26 +00:00
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
2013-05-23 16:14:48 +00:00
<td class="memname">void <a class="el" href="classcom_1_1mxgraph_1_1mxGdiCanvas2D.html#a1f4bdd89121fc399ef9aaee7efb678dd">com.mxgraph.mxGdiCanvas2D.Image</a> </td>
2012-05-21 20:32:26 +00:00
<td>(</td>
2013-04-04 11:51:15 +00:00
<td class="paramtype">double&#160;</td>
<td class="paramname"><em>x</em>, </td>
2012-05-21 20:32:26 +00:00
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
2013-04-04 11:51:15 +00:00
<td class="paramtype">double&#160;</td>
<td class="paramname"><em>y</em>, </td>
2012-05-21 20:32:26 +00:00
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
2013-04-04 11:51:15 +00:00
<td class="paramtype">double&#160;</td>
<td class="paramname"><em>w</em>, </td>
2012-05-21 20:32:26 +00:00
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
2013-04-04 11:51:15 +00:00
<td class="paramtype">double&#160;</td>
<td class="paramname"><em>h</em>, </td>
2012-05-21 20:32:26 +00:00
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
2013-05-23 16:14:48 +00:00
<td class="paramtype">String&#160;</td>
<td class="paramname"><em>src</em>, </td>
2012-05-21 20:32:26 +00:00
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
2013-04-04 11:51:15 +00:00
<td class="paramtype">bool&#160;</td>
2013-05-23 16:14:48 +00:00
<td class="paramname"><em>aspect</em>, </td>
2012-05-21 20:32:26 +00:00
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
2013-04-04 11:51:15 +00:00
<td class="paramtype">bool&#160;</td>
2013-05-23 16:14:48 +00:00
<td class="paramname"><em>flipH</em>, </td>
2012-05-21 20:32:26 +00:00
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
2013-05-23 16:14:48 +00:00
<td class="paramtype">bool&#160;</td>
<td class="paramname"><em>flipV</em>&#160;</td>
2012-05-21 20:32:26 +00:00
</tr>
<tr>
<td></td>
<td>)</td>
2013-05-23 16:14:48 +00:00
<td></td><td><code> [inline]</code></td>
2012-05-21 20:32:26 +00:00
</tr>
</table>
</div>
<div class="memdoc">
2013-05-23 16:14:48 +00:00
<p>Draws an image. </p>
2012-05-21 20:32:26 +00:00
</div>
</div>
2013-05-23 16:14:48 +00:00
<a class="anchor" id="a4474ef9067bfa578880c8dcff3b35fd6"></a><!-- doxytag: member="com::mxgraph::mxGdiCanvas2D::LineTo" ref="a4474ef9067bfa578880c8dcff3b35fd6" args="(double x, double y)" -->
2012-05-21 20:32:26 +00:00
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
2013-05-23 16:14:48 +00:00
<td class="memname">void <a class="el" href="classcom_1_1mxgraph_1_1mxGdiCanvas2D.html#a4474ef9067bfa578880c8dcff3b35fd6">com.mxgraph.mxGdiCanvas2D.LineTo</a> </td>
2012-05-21 20:32:26 +00:00
<td>(</td>
2013-04-04 11:51:15 +00:00
<td class="paramtype">double&#160;</td>
<td class="paramname"><em>x</em>, </td>
2012-05-21 20:32:26 +00:00
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
2013-04-04 11:51:15 +00:00
<td class="paramtype">double&#160;</td>
2013-05-23 16:14:48 +00:00
<td class="paramname"><em>y</em>&#160;</td>
2012-05-21 20:32:26 +00:00
</tr>
<tr>
<td></td>
<td>)</td>
2013-05-23 16:14:48 +00:00
<td></td><td><code> [inline]</code></td>
2012-05-21 20:32:26 +00:00
</tr>
</table>
</div>
<div class="memdoc">
2013-05-23 16:14:48 +00:00
<p>Implements <a class="el" href="interfacecom_1_1mxgraph_1_1mxICanvas2D.html#affda6db1918b1f5b140d35082953fafa">com.mxgraph.mxICanvas2D</a>.</p>
2012-05-21 20:32:26 +00:00
</div>
</div>
2013-05-23 16:14:48 +00:00
<a class="anchor" id="a0255e74ab423a23211e537da612870c3"></a><!-- doxytag: member="com::mxgraph::mxGdiCanvas2D::LoadImage" ref="a0255e74ab423a23211e537da612870c3" args="(String src)" -->
2012-05-21 20:32:26 +00:00
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
2013-05-23 16:14:48 +00:00
<td class="memname"><a class="el" href="classcom_1_1mxgraph_1_1mxGdiCanvas2D.html#a1f4bdd89121fc399ef9aaee7efb678dd">Image</a> <a class="el" href="classcom_1_1mxgraph_1_1mxGdiCanvas2D.html#a0255e74ab423a23211e537da612870c3">com.mxgraph.mxGdiCanvas2D.LoadImage</a> </td>
2012-05-21 20:32:26 +00:00
<td>(</td>
2013-04-04 11:51:15 +00:00
<td class="paramtype">String&#160;</td>
2013-05-23 16:14:48 +00:00
<td class="paramname"><em>src</em></td><td>)</td>
<td><code> [inline, protected]</code></td>
2012-05-21 20:32:26 +00:00
</tr>
</table>
</div>
<div class="memdoc">
2013-05-23 16:14:48 +00:00
<p>Loads the specified image. </p>
2012-05-21 20:32:26 +00:00
</div>
</div>
2013-05-23 16:14:48 +00:00
<a class="anchor" id="a909bb3cbbea1652b7b4b3d2e1b722100"></a><!-- doxytag: member="com::mxgraph::mxGdiCanvas2D::MoveTo" ref="a909bb3cbbea1652b7b4b3d2e1b722100" args="(double x, double y)" -->
2012-05-21 20:32:26 +00:00
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
2013-05-23 16:14:48 +00:00
<td class="memname">void <a class="el" href="classcom_1_1mxgraph_1_1mxGdiCanvas2D.html#a909bb3cbbea1652b7b4b3d2e1b722100">com.mxgraph.mxGdiCanvas2D.MoveTo</a> </td>
2012-05-21 20:32:26 +00:00
<td>(</td>
2013-04-04 11:51:15 +00:00
<td class="paramtype">double&#160;</td>
<td class="paramname"><em>x</em>, </td>
2012-05-21 20:32:26 +00:00
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
2013-04-04 11:51:15 +00:00
<td class="paramtype">double&#160;</td>
<td class="paramname"><em>y</em>&#160;</td>
2012-05-21 20:32:26 +00:00
</tr>
<tr>
<td></td>
<td>)</td>
2013-04-04 11:51:15 +00:00
<td></td><td><code> [inline]</code></td>
2012-05-21 20:32:26 +00:00
</tr>
</table>
</div>
<div class="memdoc">
2013-05-23 16:14:48 +00:00
<p>Implements <a class="el" href="interfacecom_1_1mxgraph_1_1mxICanvas2D.html#a6a6f46cc1adaf4df58c349b33c8c386c">com.mxgraph.mxICanvas2D</a>.</p>
2012-05-21 20:32:26 +00:00
</div>
</div>
2013-05-23 16:14:48 +00:00
<a class="anchor" id="ad909de790ca4095195000ade2f147f53"></a><!-- doxytag: member="com::mxgraph::mxGdiCanvas2D::PaintCurrentPath" ref="ad909de790ca4095195000ade2f147f53" args="(bool filled, bool stroked)" -->
2012-05-21 20:32:26 +00:00
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
2013-05-23 16:14:48 +00:00
<td class="memname">void <a class="el" href="classcom_1_1mxgraph_1_1mxGdiCanvas2D.html#ad909de790ca4095195000ade2f147f53">com.mxgraph.mxGdiCanvas2D.PaintCurrentPath</a> </td>
2012-05-21 20:32:26 +00:00
<td>(</td>
2013-05-23 16:14:48 +00:00
<td class="paramtype">bool&#160;</td>
<td class="paramname"><em>filled</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">bool&#160;</td>
<td class="paramname"><em>stroked</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td><code> [inline, protected]</code></td>
2012-05-21 20:32:26 +00:00
</tr>
</table>
</div>
<div class="memdoc">
2013-05-23 16:14:48 +00:00
<dl class="params"><dt><b>Parameters:</b></dt><dd>
<table class="params">
<tr><td class="paramname">value</td><td></td></tr>
</table>
</dd>
</dl>
2012-05-21 20:32:26 +00:00
</div>
</div>
2013-05-23 16:14:48 +00:00
<a class="anchor" id="ae161aeea63d8e990b3ac951161444658"></a><!-- doxytag: member="com::mxgraph::mxGdiCanvas2D::PaintShadow" ref="ae161aeea63d8e990b3ac951161444658" args="(bool filled, bool stroked)" -->
2012-05-21 20:32:26 +00:00
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
2013-05-23 16:14:48 +00:00
<td class="memname">void <a class="el" href="classcom_1_1mxgraph_1_1mxGdiCanvas2D.html#ae161aeea63d8e990b3ac951161444658">com.mxgraph.mxGdiCanvas2D.PaintShadow</a> </td>
2012-05-21 20:32:26 +00:00
<td>(</td>
2013-05-23 16:14:48 +00:00
<td class="paramtype">bool&#160;</td>
<td class="paramname"><em>filled</em>, </td>
2012-05-21 20:32:26 +00:00
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
2013-05-23 16:14:48 +00:00
<td class="paramtype">bool&#160;</td>
<td class="paramname"><em>stroked</em>&#160;</td>
2012-05-21 20:32:26 +00:00
</tr>
<tr>
<td></td>
<td>)</td>
2013-05-23 16:14:48 +00:00
<td></td><td><code> [inline, protected]</code></td>
2012-05-21 20:32:26 +00:00
</tr>
</table>
</div>
<div class="memdoc">
2013-05-23 16:14:48 +00:00
<dl class="params"><dt><b>Parameters:</b></dt><dd>
<table class="params">
<tr><td class="paramname">value</td><td></td></tr>
</table>
</dd>
</dl>
2012-05-21 20:32:26 +00:00
</div>
</div>
2013-04-04 11:51:15 +00:00
<a class="anchor" id="ad2eabc64cfb68ac7bfeb82039f0891b7"></a><!-- doxytag: member="com::mxgraph::mxGdiCanvas2D::ParseColor" ref="ad2eabc64cfb68ac7bfeb82039f0891b7" args="(string hex)" -->
2012-05-21 20:32:26 +00:00
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
2013-04-04 11:51:15 +00:00
<td class="memname">Color <a class="el" href="classcom_1_1mxgraph_1_1mxGdiCanvas2D.html#ad2eabc64cfb68ac7bfeb82039f0891b7">com.mxgraph.mxGdiCanvas2D.ParseColor</a> </td>
2012-05-21 20:32:26 +00:00
<td>(</td>
2013-04-04 11:51:15 +00:00
<td class="paramtype">string&#160;</td>
<td class="paramname"><em>hex</em></td><td>)</td>
2012-05-21 20:32:26 +00:00
<td><code> [inline, protected]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Helper method that uses <a class="el" href="">mxUtils#parseColor(String)</a>. Subclassers. </p>
<p>can override this to implement caching for frequently used colors. </p>
</div>
</div>
2013-04-04 11:51:15 +00:00
<a class="anchor" id="abba77e7082fb13a550d0b8c55ccf9ecd"></a><!-- doxytag: member="com::mxgraph::mxGdiCanvas2D::QuadTo" ref="abba77e7082fb13a550d0b8c55ccf9ecd" args="(double x1, double y1, double x2, double y2)" -->
2012-05-21 20:32:26 +00:00
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
2013-04-04 11:51:15 +00:00
<td class="memname">void <a class="el" href="classcom_1_1mxgraph_1_1mxGdiCanvas2D.html#abba77e7082fb13a550d0b8c55ccf9ecd">com.mxgraph.mxGdiCanvas2D.QuadTo</a> </td>
2012-05-21 20:32:26 +00:00
<td>(</td>
2013-04-04 11:51:15 +00:00
<td class="paramtype">double&#160;</td>
<td class="paramname"><em>x1</em>, </td>
2012-05-21 20:32:26 +00:00
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
2013-04-04 11:51:15 +00:00
<td class="paramtype">double&#160;</td>
<td class="paramname"><em>y1</em>, </td>
2012-05-21 20:32:26 +00:00
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
2013-04-04 11:51:15 +00:00
<td class="paramtype">double&#160;</td>
<td class="paramname"><em>x2</em>, </td>
2012-05-21 20:32:26 +00:00
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
2013-04-04 11:51:15 +00:00
<td class="paramtype">double&#160;</td>
<td class="paramname"><em>y2</em>&#160;</td>
2012-05-21 20:32:26 +00:00
</tr>
<tr>
<td></td>
<td>)</td>
2013-04-04 11:51:15 +00:00
<td></td><td><code> [inline]</code></td>
2012-05-21 20:32:26 +00:00
</tr>
</table>
</div>
<div class="memdoc">
2013-04-04 11:51:15 +00:00
<p>Implements <a class="el" href="interfacecom_1_1mxgraph_1_1mxICanvas2D.html#a30dd2151bdf0c2d5e6166ad137752176">com.mxgraph.mxICanvas2D</a>.</p>
2012-05-21 20:32:26 +00:00
</div>
</div>
2013-04-04 11:51:15 +00:00
<a class="anchor" id="ab822a48aa8fe95d32ff2059bb0d15015"></a><!-- doxytag: member="com::mxgraph::mxGdiCanvas2D::Rect" ref="ab822a48aa8fe95d32ff2059bb0d15015" args="(double x, double y, double w, double h)" -->
2012-05-21 20:32:26 +00:00
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
2013-04-04 11:51:15 +00:00
<td class="memname">void <a class="el" href="classcom_1_1mxgraph_1_1mxGdiCanvas2D.html#ab822a48aa8fe95d32ff2059bb0d15015">com.mxgraph.mxGdiCanvas2D.Rect</a> </td>
2012-05-21 20:32:26 +00:00
<td>(</td>
2013-04-04 11:51:15 +00:00
<td class="paramtype">double&#160;</td>
<td class="paramname"><em>x</em>, </td>
2012-05-21 20:32:26 +00:00
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
2013-04-04 11:51:15 +00:00
<td class="paramtype">double&#160;</td>
<td class="paramname"><em>y</em>, </td>
2012-05-21 20:32:26 +00:00
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
2013-04-04 11:51:15 +00:00
<td class="paramtype">double&#160;</td>
<td class="paramname"><em>w</em>, </td>
2012-05-21 20:32:26 +00:00
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
2013-04-04 11:51:15 +00:00
<td class="paramtype">double&#160;</td>
<td class="paramname"><em>h</em>&#160;</td>
2012-05-21 20:32:26 +00:00
</tr>
<tr>
<td></td>
<td>)</td>
2013-04-04 11:51:15 +00:00
<td></td><td><code> [inline]</code></td>
2012-05-21 20:32:26 +00:00
</tr>
</table>
</div>
<div class="memdoc">
<p>Draws a rectangle. </p>
2013-04-04 11:51:15 +00:00
<p>Implements <a class="el" href="interfacecom_1_1mxgraph_1_1mxICanvas2D.html#ae12f3902cb72c91858bc4599aa357ef8">com.mxgraph.mxICanvas2D</a>.</p>
2012-05-21 20:32:26 +00:00
</div>
</div>
2013-04-04 11:51:15 +00:00
<a class="anchor" id="a814e9b2b81a76abd7c678d4000a7bb43"></a><!-- doxytag: member="com::mxgraph::mxGdiCanvas2D::Restore" ref="a814e9b2b81a76abd7c678d4000a7bb43" args="()" -->
2012-05-21 20:32:26 +00:00
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
2013-04-04 11:51:15 +00:00
<td class="memname">void <a class="el" href="classcom_1_1mxgraph_1_1mxGdiCanvas2D.html#a814e9b2b81a76abd7c678d4000a7bb43">com.mxgraph.mxGdiCanvas2D.Restore</a> </td>
2012-05-21 20:32:26 +00:00
<td>(</td>
2013-04-04 11:51:15 +00:00
<td class="paramname"></td><td>)</td>
2012-05-21 20:32:26 +00:00
<td><code> [inline]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Restores the last canvas state. </p>
2013-04-04 11:51:15 +00:00
<p>Implements <a class="el" href="interfacecom_1_1mxgraph_1_1mxICanvas2D.html#ac9fbe6a1a858d7723439b617506b5690">com.mxgraph.mxICanvas2D</a>.</p>
2012-05-21 20:32:26 +00:00
</div>
</div>
2013-04-04 11:51:15 +00:00
<a class="anchor" id="a547a00923134815b5f994412e2e58b5b"></a><!-- doxytag: member="com::mxgraph::mxGdiCanvas2D::Rotate" ref="a547a00923134815b5f994412e2e58b5b" args="(double theta, bool flipH, bool flipV, double cx, double cy)" -->
2012-05-21 20:32:26 +00:00
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
2013-04-04 11:51:15 +00:00
<td class="memname">void <a class="el" href="classcom_1_1mxgraph_1_1mxGdiCanvas2D.html#a547a00923134815b5f994412e2e58b5b">com.mxgraph.mxGdiCanvas2D.Rotate</a> </td>
2012-05-21 20:32:26 +00:00
<td>(</td>
2013-04-04 11:51:15 +00:00
<td class="paramtype">double&#160;</td>
<td class="paramname"><em>theta</em>, </td>
2012-05-21 20:32:26 +00:00
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
2013-04-04 11:51:15 +00:00
<td class="paramtype">bool&#160;</td>
<td class="paramname"><em>flipH</em>, </td>
2012-05-21 20:32:26 +00:00
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
2013-04-04 11:51:15 +00:00
<td class="paramtype">bool&#160;</td>
<td class="paramname"><em>flipV</em>, </td>
2012-05-21 20:32:26 +00:00
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
2013-04-04 11:51:15 +00:00
<td class="paramtype">double&#160;</td>
<td class="paramname"><em>cx</em>, </td>
2012-05-21 20:32:26 +00:00
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
2013-04-04 11:51:15 +00:00
<td class="paramtype">double&#160;</td>
<td class="paramname"><em>cy</em>&#160;</td>
2012-05-21 20:32:26 +00:00
</tr>
<tr>
<td></td>
<td>)</td>
2013-04-04 11:51:15 +00:00
<td></td><td><code> [inline]</code></td>
2012-05-21 20:32:26 +00:00
</tr>
</table>
</div>
<div class="memdoc">
<p>Rotates the canvas. </p>
2013-04-04 11:51:15 +00:00
<p>Implements <a class="el" href="interfacecom_1_1mxgraph_1_1mxICanvas2D.html#ae5df98dd5c4b0b3a21d0ee990b8255e1">com.mxgraph.mxICanvas2D</a>.</p>
2012-05-21 20:32:26 +00:00
</div>
</div>
2013-04-04 11:51:15 +00:00
<a class="anchor" id="a6a626199019a38407d7466691ec81b72"></a><!-- doxytag: member="com::mxgraph::mxGdiCanvas2D::Roundrect" ref="a6a626199019a38407d7466691ec81b72" args="(double x, double y, double w, double h, double dx, double dy)" -->
2012-05-21 20:32:26 +00:00
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
2013-04-04 11:51:15 +00:00
<td class="memname">void <a class="el" href="classcom_1_1mxgraph_1_1mxGdiCanvas2D.html#a6a626199019a38407d7466691ec81b72">com.mxgraph.mxGdiCanvas2D.Roundrect</a> </td>
2012-05-21 20:32:26 +00:00
<td>(</td>
2013-04-04 11:51:15 +00:00
<td class="paramtype">double&#160;</td>
<td class="paramname"><em>x</em>, </td>
2012-05-21 20:32:26 +00:00
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
2013-04-04 11:51:15 +00:00
<td class="paramtype">double&#160;</td>
<td class="paramname"><em>y</em>, </td>
2012-05-21 20:32:26 +00:00
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
2013-04-04 11:51:15 +00:00
<td class="paramtype">double&#160;</td>
<td class="paramname"><em>w</em>, </td>
2012-05-21 20:32:26 +00:00
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
2013-04-04 11:51:15 +00:00
<td class="paramtype">double&#160;</td>
<td class="paramname"><em>h</em>, </td>
2012-05-21 20:32:26 +00:00
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
2013-04-04 11:51:15 +00:00
<td class="paramtype">double&#160;</td>
<td class="paramname"><em>dx</em>, </td>
2012-05-21 20:32:26 +00:00
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
2013-04-04 11:51:15 +00:00
<td class="paramtype">double&#160;</td>
<td class="paramname"><em>dy</em>&#160;</td>
2012-05-21 20:32:26 +00:00
</tr>
<tr>
<td></td>
<td>)</td>
2013-04-04 11:51:15 +00:00
<td></td><td><code> [inline]</code></td>
2012-05-21 20:32:26 +00:00
</tr>
</table>
</div>
<div class="memdoc">
<p>Draws a rounded rectangle. </p>
2013-04-04 11:51:15 +00:00
<p>Implements <a class="el" href="interfacecom_1_1mxgraph_1_1mxICanvas2D.html#ab985e28b6205b5b7f5fc6fa870858675">com.mxgraph.mxICanvas2D</a>.</p>
2012-05-21 20:32:26 +00:00
</div>
</div>
2013-04-04 11:51:15 +00:00
<a class="anchor" id="aba3e5497fdc1774dfaa9f9ab9b7a1cd0"></a><!-- doxytag: member="com::mxgraph::mxGdiCanvas2D::Save" ref="aba3e5497fdc1774dfaa9f9ab9b7a1cd0" args="()" -->
2012-05-21 20:32:26 +00:00
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
2013-04-04 11:51:15 +00:00
<td class="memname">void <a class="el" href="classcom_1_1mxgraph_1_1mxGdiCanvas2D.html#aba3e5497fdc1774dfaa9f9ab9b7a1cd0">com.mxgraph.mxGdiCanvas2D.Save</a> </td>
2012-05-21 20:32:26 +00:00
<td>(</td>
2013-04-04 11:51:15 +00:00
<td class="paramname"></td><td>)</td>
2012-05-21 20:32:26 +00:00
<td><code> [inline]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Saves the current canvas state. </p>
2013-04-04 11:51:15 +00:00
<p>Implements <a class="el" href="interfacecom_1_1mxgraph_1_1mxICanvas2D.html#aed6c0ce750c95f27a895cef994b8648d">com.mxgraph.mxICanvas2D</a>.</p>
2012-05-21 20:32:26 +00:00
</div>
</div>
2013-04-04 11:51:15 +00:00
<a class="anchor" id="a65e3013a8a068010ee003f0810f17ece"></a><!-- doxytag: member="com::mxgraph::mxGdiCanvas2D::Scale" ref="a65e3013a8a068010ee003f0810f17ece" args="(double value)" -->
2012-05-21 20:32:26 +00:00
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
2013-04-04 11:51:15 +00:00
<td class="memname">void <a class="el" href="classcom_1_1mxgraph_1_1mxGdiCanvas2D.html#a65e3013a8a068010ee003f0810f17ece">com.mxgraph.mxGdiCanvas2D.Scale</a> </td>
2012-05-21 20:32:26 +00:00
<td>(</td>
2013-04-04 11:51:15 +00:00
<td class="paramtype">double&#160;</td>
<td class="paramname"><em>value</em></td><td>)</td>
2012-05-21 20:32:26 +00:00
<td><code> [inline]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Sets the given scale. </p>
2013-04-04 11:51:15 +00:00
<dl class="params"><dt><b>Parameters:</b></dt><dd>
<table class="params">
<tr><td class="paramname">value</td><td></td></tr>
2012-05-21 20:32:26 +00:00
</table>
</dd>
</dl>
2013-04-04 11:51:15 +00:00
<p>Implements <a class="el" href="interfacecom_1_1mxgraph_1_1mxICanvas2D.html#afcf2a9403fbc23f4b7a0dc37e15846d6">com.mxgraph.mxICanvas2D</a>.</p>
2012-05-21 20:32:26 +00:00
</div>
</div>
2013-05-23 16:14:48 +00:00
<a class="anchor" id="a3200cd6c31d9b686f5b45a3073281545"></a><!-- doxytag: member="com::mxgraph::mxGdiCanvas2D::SetGradient" ref="a3200cd6c31d9b686f5b45a3073281545" args="(String color1, String color2, double x, double y, double w, double h, String direction, double alpha1, double alpha2)" -->
2012-05-21 20:32:26 +00:00
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
2013-05-23 16:14:48 +00:00
<td class="memname">void <a class="el" href="classcom_1_1mxgraph_1_1mxGdiCanvas2D.html#a3200cd6c31d9b686f5b45a3073281545">com.mxgraph.mxGdiCanvas2D.SetGradient</a> </td>
2012-05-21 20:32:26 +00:00
<td>(</td>
2013-04-04 11:51:15 +00:00
<td class="paramtype">String&#160;</td>
<td class="paramname"><em>color1</em>, </td>
2012-05-21 20:32:26 +00:00
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
2013-04-04 11:51:15 +00:00
<td class="paramtype">String&#160;</td>
<td class="paramname"><em>color2</em>, </td>
2012-05-21 20:32:26 +00:00
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
2013-04-04 11:51:15 +00:00
<td class="paramtype">double&#160;</td>
<td class="paramname"><em>x</em>, </td>
2012-05-21 20:32:26 +00:00
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
2013-04-04 11:51:15 +00:00
<td class="paramtype">double&#160;</td>
<td class="paramname"><em>y</em>, </td>
2012-05-21 20:32:26 +00:00
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
2013-04-04 11:51:15 +00:00
<td class="paramtype">double&#160;</td>
<td class="paramname"><em>w</em>, </td>
2012-05-21 20:32:26 +00:00
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
2013-04-04 11:51:15 +00:00
<td class="paramtype">double&#160;</td>
<td class="paramname"><em>h</em>, </td>
2012-05-21 20:32:26 +00:00
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
2013-04-04 11:51:15 +00:00
<td class="paramtype">String&#160;</td>
2013-05-23 16:14:48 +00:00
<td class="paramname"><em>direction</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">double&#160;</td>
<td class="paramname"><em>alpha1</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">double&#160;</td>
<td class="paramname"><em>alpha2</em>&#160;</td>
2012-05-21 20:32:26 +00:00
</tr>
<tr>
<td></td>
<td>)</td>
2013-04-04 11:51:15 +00:00
<td></td><td><code> [inline]</code></td>
2012-05-21 20:32:26 +00:00
</tr>
</table>
</div>
<div class="memdoc">
<p>Sets the given gradient. </p>
</div>
</div>
2013-05-23 16:14:48 +00:00
<a class="anchor" id="a33c2596b7caccd3237f36adfbbaeb33f"></a><!-- doxytag: member="com::mxgraph::mxGdiCanvas2D::SetShadowOffset" ref="a33c2596b7caccd3237f36adfbbaeb33f" args="(double dx, double dy)" -->
2012-05-21 20:32:26 +00:00
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
2013-05-23 16:14:48 +00:00
<td class="memname">void <a class="el" href="classcom_1_1mxgraph_1_1mxGdiCanvas2D.html#a33c2596b7caccd3237f36adfbbaeb33f">com.mxgraph.mxGdiCanvas2D.SetShadowOffset</a> </td>
2012-05-21 20:32:26 +00:00
<td>(</td>
2013-05-23 16:14:48 +00:00
<td class="paramtype">double&#160;</td>
<td class="paramname"><em>dx</em>, </td>
2012-05-21 20:32:26 +00:00
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
2013-05-23 16:14:48 +00:00
<td class="paramtype">double&#160;</td>
<td class="paramname"><em>dy</em>&#160;</td>
2012-05-21 20:32:26 +00:00
</tr>
<tr>
<td></td>
<td>)</td>
2013-04-04 11:51:15 +00:00
<td></td><td><code> [inline]</code></td>
2012-05-21 20:32:26 +00:00
</tr>
</table>
</div>
<div class="memdoc">
2013-05-23 16:14:48 +00:00
<p>Prepares the canvas to draw a gradient. </p>
<p>Implements <a class="el" href="interfacecom_1_1mxgraph_1_1mxICanvas2D.html#a9cdcbe54b6e52b02c013ea84c59fb4d2">com.mxgraph.mxICanvas2D</a>.</p>
2012-05-21 20:32:26 +00:00
</div>
</div>
2013-04-04 11:51:15 +00:00
<a class="anchor" id="adaa5bf6e763708286e95d543ffec2d60"></a><!-- doxytag: member="com::mxgraph::mxGdiCanvas2D::Stroke" ref="adaa5bf6e763708286e95d543ffec2d60" args="()" -->
2012-05-21 20:32:26 +00:00
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
2013-04-04 11:51:15 +00:00
<td class="memname">void <a class="el" href="classcom_1_1mxgraph_1_1mxGdiCanvas2D.html#adaa5bf6e763708286e95d543ffec2d60">com.mxgraph.mxGdiCanvas2D.Stroke</a> </td>
2012-05-21 20:32:26 +00:00
<td>(</td>
2013-04-04 11:51:15 +00:00
<td class="paramname"></td><td>)</td>
2012-05-21 20:32:26 +00:00
<td><code> [inline]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
2013-04-04 11:51:15 +00:00
<p>Implements <a class="el" href="interfacecom_1_1mxgraph_1_1mxICanvas2D.html#a7b9d014988cab1e2f599f370375a5fde">com.mxgraph.mxICanvas2D</a>.</p>
2012-05-21 20:32:26 +00:00
</div>
</div>
2013-05-23 16:14:48 +00:00
<a class="anchor" id="a56ff4fad53efea561a7d9c06eb870b7b"></a><!-- doxytag: member="com::mxgraph::mxGdiCanvas2D::Text" ref="a56ff4fad53efea561a7d9c06eb870b7b" args="(double x, double y, double w, double h, string str, string align, string valign, bool wrap, string format, string overflow, bool clip, double rotation)" -->
2012-05-21 20:32:26 +00:00
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
2013-05-23 16:14:48 +00:00
<td class="memname">void <a class="el" href="classcom_1_1mxgraph_1_1mxGdiCanvas2D.html#a56ff4fad53efea561a7d9c06eb870b7b">com.mxgraph.mxGdiCanvas2D.Text</a> </td>
2012-05-21 20:32:26 +00:00
<td>(</td>
2013-04-04 11:51:15 +00:00
<td class="paramtype">double&#160;</td>
<td class="paramname"><em>x</em>, </td>
2012-05-21 20:32:26 +00:00
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
2013-04-04 11:51:15 +00:00
<td class="paramtype">double&#160;</td>
<td class="paramname"><em>y</em>, </td>
2012-05-21 20:32:26 +00:00
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
2013-04-04 11:51:15 +00:00
<td class="paramtype">double&#160;</td>
<td class="paramname"><em>w</em>, </td>
2012-05-21 20:32:26 +00:00
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
2013-04-04 11:51:15 +00:00
<td class="paramtype">double&#160;</td>
<td class="paramname"><em>h</em>, </td>
2012-05-21 20:32:26 +00:00
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
2013-04-04 11:51:15 +00:00
<td class="paramtype">string&#160;</td>
<td class="paramname"><em>str</em>, </td>
2012-05-21 20:32:26 +00:00
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
2013-04-04 11:51:15 +00:00
<td class="paramtype">string&#160;</td>
<td class="paramname"><em>align</em>, </td>
2012-05-21 20:32:26 +00:00
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
2013-04-04 11:51:15 +00:00
<td class="paramtype">string&#160;</td>
<td class="paramname"><em>valign</em>, </td>
2012-05-21 20:32:26 +00:00
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
2013-04-04 11:51:15 +00:00
<td class="paramtype">bool&#160;</td>
2013-05-23 16:14:48 +00:00
<td class="paramname"><em>wrap</em>, </td>
2012-05-21 20:32:26 +00:00
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
2013-05-23 16:14:48 +00:00
<td class="paramtype">string&#160;</td>
<td class="paramname"><em>format</em>, </td>
2012-05-21 20:32:26 +00:00
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
2013-04-04 11:51:15 +00:00
<td class="paramtype">string&#160;</td>
2013-05-23 16:14:48 +00:00
<td class="paramname"><em>overflow</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">bool&#160;</td>
<td class="paramname"><em>clip</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">double&#160;</td>
<td class="paramname"><em>rotation</em>&#160;</td>
2012-05-21 20:32:26 +00:00
</tr>
<tr>
<td></td>
<td>)</td>
2013-04-04 11:51:15 +00:00
<td></td><td><code> [inline]</code></td>
2012-05-21 20:32:26 +00:00
</tr>
</table>
</div>
<div class="memdoc">
<p>Draws the given text. </p>
2013-05-23 16:14:48 +00:00
<p>Implements <a class="el" href="interfacecom_1_1mxgraph_1_1mxICanvas2D.html#a0184c390798c6c00233668c6b123c650">com.mxgraph.mxICanvas2D</a>.</p>
2012-05-21 20:32:26 +00:00
</div>
</div>
2013-04-04 11:51:15 +00:00
<a class="anchor" id="a130009b157e38ef664cfc6efb06d3d9a"></a><!-- doxytag: member="com::mxgraph::mxGdiCanvas2D::Translate" ref="a130009b157e38ef664cfc6efb06d3d9a" args="(double dx, double dy)" -->
2012-05-21 20:32:26 +00:00
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
2013-04-04 11:51:15 +00:00
<td class="memname">void <a class="el" href="classcom_1_1mxgraph_1_1mxGdiCanvas2D.html#a130009b157e38ef664cfc6efb06d3d9a">com.mxgraph.mxGdiCanvas2D.Translate</a> </td>
2012-05-21 20:32:26 +00:00
<td>(</td>
2013-04-04 11:51:15 +00:00
<td class="paramtype">double&#160;</td>
<td class="paramname"><em>dx</em>, </td>
2012-05-21 20:32:26 +00:00
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
2013-04-04 11:51:15 +00:00
<td class="paramtype">double&#160;</td>
<td class="paramname"><em>dy</em>&#160;</td>
2012-05-21 20:32:26 +00:00
</tr>
<tr>
<td></td>
<td>)</td>
2013-04-04 11:51:15 +00:00
<td></td><td><code> [inline]</code></td>
2012-05-21 20:32:26 +00:00
</tr>
</table>
</div>
<div class="memdoc">
<p>Translates the canvas. </p>
2013-04-04 11:51:15 +00:00
<dl class="params"><dt><b>Parameters:</b></dt><dd>
<table class="params">
<tr><td class="paramname">dx</td><td></td></tr>
<tr><td class="paramname">dy</td><td></td></tr>
2012-05-21 20:32:26 +00:00
</table>
</dd>
</dl>
2013-04-04 11:51:15 +00:00
<p>Implements <a class="el" href="interfacecom_1_1mxgraph_1_1mxICanvas2D.html#a0908bb5d77778fcc257c17311c724b7d">com.mxgraph.mxICanvas2D</a>.</p>
2012-05-21 20:32:26 +00:00
</div>
</div>
2013-04-04 11:51:15 +00:00
<a class="anchor" id="ab980554ca8e34d6c3ae9982784ec8944"></a><!-- doxytag: member="com::mxgraph::mxGdiCanvas2D::UpdateFont" ref="ab980554ca8e34d6c3ae9982784ec8944" args="()" -->
2012-05-21 20:32:26 +00:00
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
2013-04-04 11:51:15 +00:00
<td class="memname">void <a class="el" href="classcom_1_1mxgraph_1_1mxGdiCanvas2D.html#ab980554ca8e34d6c3ae9982784ec8944">com.mxgraph.mxGdiCanvas2D.UpdateFont</a> </td>
2012-05-21 20:32:26 +00:00
<td>(</td>
2013-04-04 11:51:15 +00:00
<td class="paramname"></td><td>)</td>
2012-05-21 20:32:26 +00:00
<td><code> [inline, protected]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
</div>
</div>
2013-04-04 11:51:15 +00:00
<a class="anchor" id="a1197f3d89dd3b3096fa4263e8625d1d9"></a><!-- doxytag: member="com::mxgraph::mxGdiCanvas2D::UpdatePen" ref="a1197f3d89dd3b3096fa4263e8625d1d9" args="()" -->
2012-05-21 20:32:26 +00:00
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
2013-04-04 11:51:15 +00:00
<td class="memname">void <a class="el" href="classcom_1_1mxgraph_1_1mxGdiCanvas2D.html#a1197f3d89dd3b3096fa4263e8625d1d9">com.mxgraph.mxGdiCanvas2D.UpdatePen</a> </td>
2012-05-21 20:32:26 +00:00
<td>(</td>
2013-04-04 11:51:15 +00:00
<td class="paramname"></td><td>)</td>
2012-05-21 20:32:26 +00:00
<td><code> [inline, protected]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
</div>
</div>
<hr/><h2>Member Data Documentation</h2>
2013-04-04 11:51:15 +00:00
<a class="anchor" id="a055f82d17e561b60400a67d6c487a6eb"></a><!-- doxytag: member="com::mxgraph::mxGdiCanvas2D::currentPath" ref="a055f82d17e561b60400a67d6c487a6eb" args="" -->
2012-05-21 20:32:26 +00:00
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
2013-04-04 11:51:15 +00:00
<td class="memname">GraphicsPath <a class="el" href="classcom_1_1mxgraph_1_1mxGdiCanvas2D.html#a055f82d17e561b60400a67d6c487a6eb">com.mxgraph.mxGdiCanvas2D.currentPath</a><code> [protected]</code></td>
2012-05-21 20:32:26 +00:00
</tr>
</table>
</div>
<div class="memdoc">
<p>Holds the current path. </p>
</div>
</div>
2013-05-23 16:14:48 +00:00
<a class="anchor" id="aafdc6db819899dc2146b7d8fdc1d73f2"></a><!-- doxytag: member="com::mxgraph::mxGdiCanvas2D::graphics" ref="aafdc6db819899dc2146b7d8fdc1d73f2" args="" -->
2012-05-21 20:32:26 +00:00
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
2013-05-23 16:14:48 +00:00
<td class="memname">Graphics <a class="el" href="classcom_1_1mxgraph_1_1mxGdiCanvas2D.html#aafdc6db819899dc2146b7d8fdc1d73f2">com.mxgraph.mxGdiCanvas2D.graphics</a><code> [protected]</code></td>
2012-05-21 20:32:26 +00:00
</tr>
</table>
</div>
<div class="memdoc">
2013-05-23 16:14:48 +00:00
<p>Reference to the graphics instance for painting. </p>
2012-05-21 20:32:26 +00:00
2013-05-23 16:14:48 +00:00
</div>
</div>
<a class="anchor" id="ac485517367109eb03a795e3b32bb051a"></a><!-- doxytag: member="com::mxgraph::mxGdiCanvas2D::htmlAsPlainText" ref="ac485517367109eb03a795e3b32bb051a" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool <a class="el" href="classcom_1_1mxgraph_1_1mxGdiCanvas2D.html#ac485517367109eb03a795e3b32bb051a">com.mxgraph.mxGdiCanvas2D.htmlAsPlainText</a> = true<code> [protected]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>htmlAsPlainText </p>
2012-05-21 20:32:26 +00:00
</div>
</div>
2013-05-23 16:14:48 +00:00
<a class="anchor" id="aa42ef6280ec4e1243450032ad20231f2"></a><!-- doxytag: member="com::mxgraph::mxGdiCanvas2D::lastFont" ref="aa42ef6280ec4e1243450032ad20231f2" args="" -->
2012-05-21 20:32:26 +00:00
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
2013-05-23 16:14:48 +00:00
<td class="memname">Font <a class="el" href="classcom_1_1mxgraph_1_1mxGdiCanvas2D.html#aa42ef6280ec4e1243450032ad20231f2">com.mxgraph.mxGdiCanvas2D.lastFont</a> = null<code> [protected]</code></td>
2012-05-21 20:32:26 +00:00
</tr>
</table>
</div>
<div class="memdoc">
2013-05-23 16:14:48 +00:00
<p>FontCaching. </p>
2012-05-21 20:32:26 +00:00
</div>
</div>
2013-05-23 16:14:48 +00:00
<a class="anchor" id="a526f211d06bc265f62324ddd680e2ed6"></a><!-- doxytag: member="com::mxgraph::mxGdiCanvas2D::lastFontFamily" ref="a526f211d06bc265f62324ddd680e2ed6" args="" -->
2012-05-21 20:32:26 +00:00
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
2013-05-23 16:14:48 +00:00
<td class="memname">String <a class="el" href="classcom_1_1mxgraph_1_1mxGdiCanvas2D.html#a526f211d06bc265f62324ddd680e2ed6">com.mxgraph.mxGdiCanvas2D.lastFontFamily</a> = &quot;&quot;<code> [protected]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>FontCaching. </p>
</div>
</div>
<a class="anchor" id="a2a768d3fac3583bb3ef50c613c86cc39"></a><!-- doxytag: member="com::mxgraph::mxGdiCanvas2D::lastFontSize" ref="a2a768d3fac3583bb3ef50c613c86cc39" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">float <a class="el" href="classcom_1_1mxgraph_1_1mxGdiCanvas2D.html#a2a768d3fac3583bb3ef50c613c86cc39">com.mxgraph.mxGdiCanvas2D.lastFontSize</a> = 0<code> [protected]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>FontCaching. </p>
</div>
</div>
<a class="anchor" id="acbadc97b529f42bf6e32a9c57155877b"></a><!-- doxytag: member="com::mxgraph::mxGdiCanvas2D::lastFontStyle" ref="acbadc97b529f42bf6e32a9c57155877b" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classcom_1_1mxgraph_1_1mxGdiCanvas2D.html#a2a90a486a7293b7734f373083a6b2699">FontStyle</a> <a class="el" href="classcom_1_1mxgraph_1_1mxGdiCanvas2D.html#acbadc97b529f42bf6e32a9c57155877b">com.mxgraph.mxGdiCanvas2D.lastFontStyle</a> = 0<code> [protected]</code></td>
2012-05-21 20:32:26 +00:00
</tr>
</table>
</div>
<div class="memdoc">
2013-05-23 16:14:48 +00:00
<p>FontCaching. </p>
2012-05-21 20:32:26 +00:00
</div>
</div>
2013-04-04 11:51:15 +00:00
<a class="anchor" id="a9ea5490a18725bb4a07d66d74d14a9bb"></a><!-- doxytag: member="com::mxgraph::mxGdiCanvas2D::lastPoint" ref="a9ea5490a18725bb4a07d66d74d14a9bb" args="" -->
2012-05-21 20:32:26 +00:00
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
2013-04-04 11:51:15 +00:00
<td class="memname"><a class="el" href="classcom_1_1mxgraph_1_1mxPoint.html">mxPoint</a> <a class="el" href="classcom_1_1mxgraph_1_1mxGdiCanvas2D.html#a9ea5490a18725bb4a07d66d74d14a9bb">com.mxgraph.mxGdiCanvas2D.lastPoint</a><code> [protected]</code></td>
2012-05-21 20:32:26 +00:00
</tr>
</table>
</div>
<div class="memdoc">
<p>Holds the last point of a moveTo or lineTo operation to determine if the. </p>
<p>current path is orthogonal. </p>
2013-05-23 16:14:48 +00:00
</div>
</div>
<a class="anchor" id="a8804b9774e6b3fa1725cb6e9f84681f1"></a><!-- doxytag: member="com::mxgraph::mxGdiCanvas2D::matchHtmlAlignment" ref="a8804b9774e6b3fa1725cb6e9f84681f1" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool <a class="el" href="classcom_1_1mxgraph_1_1mxGdiCanvas2D.html#a8804b9774e6b3fa1725cb6e9f84681f1">com.mxgraph.mxGdiCanvas2D.matchHtmlAlignment</a> = true<code> [protected]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>matchHtmlAlignment </p>
2012-05-21 20:32:26 +00:00
</div>
</div>
2013-04-04 11:51:15 +00:00
<a class="anchor" id="a24837f31b73bf45e8b06b56003c84abc"></a><!-- doxytag: member="com::mxgraph::mxGdiCanvas2D::stack" ref="a24837f31b73bf45e8b06b56003c84abc" args="" -->
2012-05-21 20:32:26 +00:00
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
2013-04-04 11:51:15 +00:00
<td class="memname">Stack&lt;<a class="el" href="classcom_1_1mxgraph_1_1mxGdiCanvas2D_1_1CanvasState.html">CanvasState</a>&gt; <a class="el" href="classcom_1_1mxgraph_1_1mxGdiCanvas2D.html#a24837f31b73bf45e8b06b56003c84abc">com.mxgraph.mxGdiCanvas2D.stack</a> = new Stack&lt;<a class="el" href="classcom_1_1mxgraph_1_1mxGdiCanvas2D_1_1CanvasState.html">CanvasState</a>&gt;()<code> [protected]</code></td>
2012-05-21 20:32:26 +00:00
</tr>
</table>
</div>
<div class="memdoc">
<p>Stack of states for save/restore. </p>
</div>
</div>
2013-04-04 11:51:15 +00:00
<a class="anchor" id="a746f54d7f830ee1832d3ac163c152670"></a><!-- doxytag: member="com::mxgraph::mxGdiCanvas2D::state" ref="a746f54d7f830ee1832d3ac163c152670" args="" -->
2012-05-21 20:32:26 +00:00
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
2013-04-04 11:51:15 +00:00
<td class="memname"><a class="el" href="classcom_1_1mxgraph_1_1mxGdiCanvas2D_1_1CanvasState.html">CanvasState</a> <a class="el" href="classcom_1_1mxgraph_1_1mxGdiCanvas2D.html#a746f54d7f830ee1832d3ac163c152670">com.mxgraph.mxGdiCanvas2D.state</a> = new <a class="el" href="classcom_1_1mxgraph_1_1mxGdiCanvas2D_1_1CanvasState.html">CanvasState</a>()<code> [protected]</code></td>
2012-05-21 20:32:26 +00:00
</tr>
</table>
</div>
<div class="memdoc">
<p>Represents the current state of the canvas. </p>
2013-05-23 16:14:48 +00:00
</div>
</div>
<a class="anchor" id="af71fba06949cacc544db4e30e21b1801"></a><!-- doxytag: member="com::mxgraph::mxGdiCanvas2D::wrapPlainText" ref="af71fba06949cacc544db4e30e21b1801" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool <a class="el" href="classcom_1_1mxgraph_1_1mxGdiCanvas2D.html#af71fba06949cacc544db4e30e21b1801">com.mxgraph.mxGdiCanvas2D.wrapPlainText</a> = true<code> [protected]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>htmlAsPlainText </p>
2012-05-21 20:32:26 +00:00
</div>
</div>
<hr/><h2>Property Documentation</h2>
2013-04-04 11:51:15 +00:00
<a class="anchor" id="a4ef49d57fa12764083f987ca32d13d6e"></a><!-- doxytag: member="com::mxgraph::mxGdiCanvas2D::Alpha" ref="a4ef49d57fa12764083f987ca32d13d6e" args="" -->
2012-05-21 20:32:26 +00:00
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
2013-04-04 11:51:15 +00:00
<td class="memname">double <a class="el" href="classcom_1_1mxgraph_1_1mxGdiCanvas2D.html#a4ef49d57fa12764083f987ca32d13d6e">com.mxgraph.mxGdiCanvas2D.Alpha</a><code> [set]</code></td>
2012-05-21 20:32:26 +00:00
</tr>
</table>
</div>
<div class="memdoc">
<p>Sets the given alpha. </p>
2013-04-04 11:51:15 +00:00
<p>Implements <a class="el" href="interfacecom_1_1mxgraph_1_1mxICanvas2D.html#a48894d4235ffc2fd63ebdadabaf35a79">com.mxgraph.mxICanvas2D</a>.</p>
2012-05-21 20:32:26 +00:00
</div>
</div>
2013-04-04 11:51:15 +00:00
<a class="anchor" id="a28a1fbe93907c5b8715c2b75d4e5c21b"></a><!-- doxytag: member="com::mxgraph::mxGdiCanvas2D::Dashed" ref="a28a1fbe93907c5b8715c2b75d4e5c21b" args="" -->
2012-05-21 20:32:26 +00:00
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
2013-04-04 11:51:15 +00:00
<td class="memname">bool <a class="el" href="classcom_1_1mxgraph_1_1mxGdiCanvas2D.html#a28a1fbe93907c5b8715c2b75d4e5c21b">com.mxgraph.mxGdiCanvas2D.Dashed</a><code> [set]</code></td>
2012-05-21 20:32:26 +00:00
</tr>
</table>
</div>
<div class="memdoc">
<p>Specifies if lines are dashed. </p>
2013-04-04 11:51:15 +00:00
<p>Implements <a class="el" href="interfacecom_1_1mxgraph_1_1mxICanvas2D.html#a9461a19d276f055e2299ec86c52f7328">com.mxgraph.mxICanvas2D</a>.</p>
2012-05-21 20:32:26 +00:00
</div>
</div>
2013-04-04 11:51:15 +00:00
<a class="anchor" id="ad4f2e4c72a6eb2725b2f19f023a199b5"></a><!-- doxytag: member="com::mxgraph::mxGdiCanvas2D::DashPattern" ref="ad4f2e4c72a6eb2725b2f19f023a199b5" args="" -->
2012-05-21 20:32:26 +00:00
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
2013-04-04 11:51:15 +00:00
<td class="memname">string <a class="el" href="classcom_1_1mxgraph_1_1mxGdiCanvas2D.html#ad4f2e4c72a6eb2725b2f19f023a199b5">com.mxgraph.mxGdiCanvas2D.DashPattern</a><code> [set]</code></td>
2012-05-21 20:32:26 +00:00
</tr>
</table>
</div>
<div class="memdoc">
<p>Sets the dashpattern. </p>
2013-04-04 11:51:15 +00:00
<p>Implements <a class="el" href="interfacecom_1_1mxgraph_1_1mxICanvas2D.html#afd1419aa77094edf53def199f33cfe9e">com.mxgraph.mxICanvas2D</a>.</p>
2012-05-21 20:32:26 +00:00
</div>
</div>
2013-04-04 11:51:15 +00:00
<a class="anchor" id="a088edb66bed6448341b4add4aa67d523"></a><!-- doxytag: member="com::mxgraph::mxGdiCanvas2D::FillColor" ref="a088edb66bed6448341b4add4aa67d523" args="" -->
2012-05-21 20:32:26 +00:00
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
2013-04-04 11:51:15 +00:00
<td class="memname">string <a class="el" href="classcom_1_1mxgraph_1_1mxGdiCanvas2D.html#a088edb66bed6448341b4add4aa67d523">com.mxgraph.mxGdiCanvas2D.FillColor</a><code> [set]</code></td>
2012-05-21 20:32:26 +00:00
</tr>
</table>
</div>
<div class="memdoc">
<p>Sets the given fillcolor. </p>
2013-04-04 11:51:15 +00:00
<p>Implements <a class="el" href="interfacecom_1_1mxgraph_1_1mxICanvas2D.html#a44737751e4df400227a799e7bbd00bac">com.mxgraph.mxICanvas2D</a>.</p>
2012-05-21 20:32:26 +00:00
2013-05-23 16:14:48 +00:00
</div>
</div>
<a class="anchor" id="a902c214d531acf6840d94b71ff086594"></a><!-- doxytag: member="com::mxgraph::mxGdiCanvas2D::FontBackgroundColor" ref="a902c214d531acf6840d94b71ff086594" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">string <a class="el" href="classcom_1_1mxgraph_1_1mxGdiCanvas2D.html#a902c214d531acf6840d94b71ff086594">com.mxgraph.mxGdiCanvas2D.FontBackgroundColor</a><code> [set]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Default value 0. See <a class="el" href="classcom_1_1mxgraph_1_1mxConstants.html#a3649b54150b656e80d8e1ce7b16008c8">mxConstants#STYLE_FONTSTYLE</a>. </p>
<p>Implements <a class="el" href="interfacecom_1_1mxgraph_1_1mxICanvas2D.html#a90a428ee51654c6499001a1c3d45bd33">com.mxgraph.mxICanvas2D</a>.</p>
</div>
</div>
<a class="anchor" id="a94050853cf69b0779d839538fc38f19d"></a><!-- doxytag: member="com::mxgraph::mxGdiCanvas2D::FontBorderColor" ref="a94050853cf69b0779d839538fc38f19d" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">string <a class="el" href="classcom_1_1mxgraph_1_1mxGdiCanvas2D.html#a94050853cf69b0779d839538fc38f19d">com.mxgraph.mxGdiCanvas2D.FontBorderColor</a><code> [set]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Default value 0. See <a class="el" href="classcom_1_1mxgraph_1_1mxConstants.html#a3649b54150b656e80d8e1ce7b16008c8">mxConstants#STYLE_FONTSTYLE</a>. </p>
<p>Implements <a class="el" href="interfacecom_1_1mxgraph_1_1mxICanvas2D.html#a9e1675ba744996386d34792238ee296b">com.mxgraph.mxICanvas2D</a>.</p>
2012-05-21 20:32:26 +00:00
</div>
</div>
2013-04-04 11:51:15 +00:00
<a class="anchor" id="a5b48bca61882f9d2b7e37884a8f035f1"></a><!-- doxytag: member="com::mxgraph::mxGdiCanvas2D::FontColor" ref="a5b48bca61882f9d2b7e37884a8f035f1" args="" -->
2012-05-21 20:32:26 +00:00
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
2013-04-04 11:51:15 +00:00
<td class="memname">string <a class="el" href="classcom_1_1mxgraph_1_1mxGdiCanvas2D.html#a5b48bca61882f9d2b7e37884a8f035f1">com.mxgraph.mxGdiCanvas2D.FontColor</a><code> [set]</code></td>
2012-05-21 20:32:26 +00:00
</tr>
</table>
</div>
<div class="memdoc">
<p>Sets the fontcolor. </p>
2013-04-04 11:51:15 +00:00
<p>Implements <a class="el" href="interfacecom_1_1mxgraph_1_1mxICanvas2D.html#a4c0911ee35cae28d191e3b7ddf67bfb8">com.mxgraph.mxICanvas2D</a>.</p>
2012-05-21 20:32:26 +00:00
</div>
</div>
2013-04-04 11:51:15 +00:00
<a class="anchor" id="a79e4ffd22e0cb6b86cd671a65ce27e30"></a><!-- doxytag: member="com::mxgraph::mxGdiCanvas2D::FontFamily" ref="a79e4ffd22e0cb6b86cd671a65ce27e30" args="" -->
2012-05-21 20:32:26 +00:00
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
2013-04-04 11:51:15 +00:00
<td class="memname">string <a class="el" href="classcom_1_1mxgraph_1_1mxGdiCanvas2D.html#a79e4ffd22e0cb6b86cd671a65ce27e30">com.mxgraph.mxGdiCanvas2D.FontFamily</a><code> [set]</code></td>
2012-05-21 20:32:26 +00:00
</tr>
</table>
</div>
<div class="memdoc">
<p>Sets the font family. </p>
2013-04-04 11:51:15 +00:00
<p>Implements <a class="el" href="interfacecom_1_1mxgraph_1_1mxICanvas2D.html#a853c6b96528f390cf1a4d295b18994bc">com.mxgraph.mxICanvas2D</a>.</p>
2012-05-21 20:32:26 +00:00
</div>
</div>
2013-04-04 11:51:15 +00:00
<a class="anchor" id="ac55bc7b0f9101d61b7d6da53546f2db5"></a><!-- doxytag: member="com::mxgraph::mxGdiCanvas2D::FontSize" ref="ac55bc7b0f9101d61b7d6da53546f2db5" args="" -->
2012-05-21 20:32:26 +00:00
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
2013-04-04 11:51:15 +00:00
<td class="memname">double <a class="el" href="classcom_1_1mxgraph_1_1mxGdiCanvas2D.html#ac55bc7b0f9101d61b7d6da53546f2db5">com.mxgraph.mxGdiCanvas2D.FontSize</a><code> [set]</code></td>
2012-05-21 20:32:26 +00:00
</tr>
</table>
</div>
<div class="memdoc">
<p>Sets the fontsize. </p>
2013-04-04 11:51:15 +00:00
<p>Implements <a class="el" href="interfacecom_1_1mxgraph_1_1mxICanvas2D.html#a0e0f5b8a47b12fb8292f9ef0d3a6efc0">com.mxgraph.mxICanvas2D</a>.</p>
2012-05-21 20:32:26 +00:00
</div>
</div>
2013-04-04 11:51:15 +00:00
<a class="anchor" id="a2a90a486a7293b7734f373083a6b2699"></a><!-- doxytag: member="com::mxgraph::mxGdiCanvas2D::FontStyle" ref="a2a90a486a7293b7734f373083a6b2699" args="" -->
2012-05-21 20:32:26 +00:00
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
2013-04-04 11:51:15 +00:00
<td class="memname">int <a class="el" href="classcom_1_1mxgraph_1_1mxGdiCanvas2D.html#a2a90a486a7293b7734f373083a6b2699">com.mxgraph.mxGdiCanvas2D.FontStyle</a><code> [set]</code></td>
2012-05-21 20:32:26 +00:00
</tr>
</table>
</div>
<div class="memdoc">
<p>Sets the given fontstyle. </p>
2013-04-04 11:51:15 +00:00
<p>Implements <a class="el" href="interfacecom_1_1mxgraph_1_1mxICanvas2D.html#a416b559c908c5bda5cbae90b31320609">com.mxgraph.mxICanvas2D</a>.</p>
2012-05-21 20:32:26 +00:00
</div>
</div>
2013-04-04 11:51:15 +00:00
<a class="anchor" id="a25693d3ea758b8cc1eac976e8c8b7d14"></a><!-- doxytag: member="com::mxgraph::mxGdiCanvas2D::LineCap" ref="a25693d3ea758b8cc1eac976e8c8b7d14" args="" -->
2012-05-21 20:32:26 +00:00
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
2013-04-04 11:51:15 +00:00
<td class="memname">string <a class="el" href="classcom_1_1mxgraph_1_1mxGdiCanvas2D.html#a25693d3ea758b8cc1eac976e8c8b7d14">com.mxgraph.mxGdiCanvas2D.LineCap</a><code> [set]</code></td>
2012-05-21 20:32:26 +00:00
</tr>
</table>
</div>
<div class="memdoc">
<p>Sets the linecap. </p>
2013-04-04 11:51:15 +00:00
<p>Implements <a class="el" href="interfacecom_1_1mxgraph_1_1mxICanvas2D.html#ad316c61aadc714784ccc9d46f72bd0d3">com.mxgraph.mxICanvas2D</a>.</p>
2012-05-21 20:32:26 +00:00
</div>
</div>
2013-04-04 11:51:15 +00:00
<a class="anchor" id="aee7b7df9b646f37481b8dfc60588d116"></a><!-- doxytag: member="com::mxgraph::mxGdiCanvas2D::LineJoin" ref="aee7b7df9b646f37481b8dfc60588d116" args="" -->
2012-05-21 20:32:26 +00:00
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
2013-04-04 11:51:15 +00:00
<td class="memname">string <a class="el" href="classcom_1_1mxgraph_1_1mxGdiCanvas2D.html#aee7b7df9b646f37481b8dfc60588d116">com.mxgraph.mxGdiCanvas2D.LineJoin</a><code> [set]</code></td>
2012-05-21 20:32:26 +00:00
</tr>
</table>
</div>
<div class="memdoc">
<p>Sets the linejoin. </p>
2013-04-04 11:51:15 +00:00
<p>Implements <a class="el" href="interfacecom_1_1mxgraph_1_1mxICanvas2D.html#a2961073e07ee1870c71ee7c6c85b5480">com.mxgraph.mxICanvas2D</a>.</p>
2012-05-21 20:32:26 +00:00
</div>
</div>
2013-04-04 11:51:15 +00:00
<a class="anchor" id="a8aba9889a63a2f1f8fb8b60fbce13e11"></a><!-- doxytag: member="com::mxgraph::mxGdiCanvas2D::MiterLimit" ref="a8aba9889a63a2f1f8fb8b60fbce13e11" args="" -->
2012-05-21 20:32:26 +00:00
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
2013-04-04 11:51:15 +00:00
<td class="memname">double <a class="el" href="classcom_1_1mxgraph_1_1mxGdiCanvas2D.html#a8aba9889a63a2f1f8fb8b60fbce13e11">com.mxgraph.mxGdiCanvas2D.MiterLimit</a><code> [set]</code></td>
2012-05-21 20:32:26 +00:00
</tr>
</table>
</div>
<div class="memdoc">
<p>Sets the miterlimit. </p>
2013-04-04 11:51:15 +00:00
<p>Implements <a class="el" href="interfacecom_1_1mxgraph_1_1mxICanvas2D.html#a1b398418b20f91330c1c8f93c16dbc3d">com.mxgraph.mxICanvas2D</a>.</p>
2012-05-21 20:32:26 +00:00
2013-05-23 16:14:48 +00:00
</div>
</div>
<a class="anchor" id="a048c5b57cd3ed270f383bce1b925b96b"></a><!-- doxytag: member="com::mxgraph::mxGdiCanvas2D::Shadow" ref="a048c5b57cd3ed270f383bce1b925b96b" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool <a class="el" href="classcom_1_1mxgraph_1_1mxGdiCanvas2D.html#a048c5b57cd3ed270f383bce1b925b96b">com.mxgraph.mxGdiCanvas2D.Shadow</a><code> [set]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Default value <a class="el" href="classcom_1_1mxgraph_1_1mxConstants.html#a3c2389aa5ac4ef2c05f01beb97498cf3">mxConstants#NONE</a>. </p>
<p>Implements <a class="el" href="interfacecom_1_1mxgraph_1_1mxICanvas2D.html#a19e8c836f79edecb939c01c24b2e8f3d">com.mxgraph.mxICanvas2D</a>.</p>
</div>
</div>
<a class="anchor" id="a8657f97e7ae5e4d95121945fa62f78fc"></a><!-- doxytag: member="com::mxgraph::mxGdiCanvas2D::ShadowAlpha" ref="a8657f97e7ae5e4d95121945fa62f78fc" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">double <a class="el" href="classcom_1_1mxgraph_1_1mxGdiCanvas2D.html#a8657f97e7ae5e4d95121945fa62f78fc">com.mxgraph.mxGdiCanvas2D.ShadowAlpha</a><code> [set]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Default value 1. This method may add rendering overhead and should be used with care. </p>
<p>Implements <a class="el" href="interfacecom_1_1mxgraph_1_1mxICanvas2D.html#aceac88ac878ddd3dc45a1254097cab75">com.mxgraph.mxICanvas2D</a>.</p>
</div>
</div>
<a class="anchor" id="a74ce3a2086ea405bc062dd935b504ffe"></a><!-- doxytag: member="com::mxgraph::mxGdiCanvas2D::ShadowColor" ref="a74ce3a2086ea405bc062dd935b504ffe" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">string <a class="el" href="classcom_1_1mxgraph_1_1mxGdiCanvas2D.html#a74ce3a2086ea405bc062dd935b504ffe">com.mxgraph.mxGdiCanvas2D.ShadowColor</a><code> [set]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Default value <a class="el" href="classcom_1_1mxgraph_1_1mxConstants.html#a3c2389aa5ac4ef2c05f01beb97498cf3">mxConstants#NONE</a>. </p>
<p>Implements <a class="el" href="interfacecom_1_1mxgraph_1_1mxICanvas2D.html#a6a81d85d2a7d3533f71cbb3b1278d613">com.mxgraph.mxICanvas2D</a>.</p>
2012-05-21 20:32:26 +00:00
</div>
</div>
2013-04-04 11:51:15 +00:00
<a class="anchor" id="af536ce6a4f0f0bc604eab60bf992d91e"></a><!-- doxytag: member="com::mxgraph::mxGdiCanvas2D::StrokeColor" ref="af536ce6a4f0f0bc604eab60bf992d91e" args="" -->
2012-05-21 20:32:26 +00:00
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
2013-04-04 11:51:15 +00:00
<td class="memname">string <a class="el" href="classcom_1_1mxgraph_1_1mxGdiCanvas2D.html#af536ce6a4f0f0bc604eab60bf992d91e">com.mxgraph.mxGdiCanvas2D.StrokeColor</a><code> [set]</code></td>
2012-05-21 20:32:26 +00:00
</tr>
</table>
</div>
<div class="memdoc">
<p>Caches color conversion as it is expensive. </p>
2013-04-04 11:51:15 +00:00
<p>Implements <a class="el" href="interfacecom_1_1mxgraph_1_1mxICanvas2D.html#a329dbd75a4cebcee7a8cdc3e3b4c9d01">com.mxgraph.mxICanvas2D</a>.</p>
2012-05-21 20:32:26 +00:00
</div>
</div>
2013-04-04 11:51:15 +00:00
<a class="anchor" id="a1d84ac7a9b825717f952aaddc337ee60"></a><!-- doxytag: member="com::mxgraph::mxGdiCanvas2D::StrokeWidth" ref="a1d84ac7a9b825717f952aaddc337ee60" args="" -->
2012-05-21 20:32:26 +00:00
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
2013-04-04 11:51:15 +00:00
<td class="memname">double <a class="el" href="classcom_1_1mxgraph_1_1mxGdiCanvas2D.html#a1d84ac7a9b825717f952aaddc337ee60">com.mxgraph.mxGdiCanvas2D.StrokeWidth</a><code> [set]</code></td>
2012-05-21 20:32:26 +00:00
</tr>
</table>
</div>
<div class="memdoc">
<p>Sets the strokewidth. </p>
2013-04-04 11:51:15 +00:00
<p>Implements <a class="el" href="interfacecom_1_1mxgraph_1_1mxICanvas2D.html#a5868009556f1500e5f54e80e83cc68d5">com.mxgraph.mxICanvas2D</a>.</p>
2012-05-21 20:32:26 +00:00
</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>src/canvas/mxGdiCanvas2D.cs</li>
</ul>
2013-04-04 11:51:15 +00:00
</div><!-- contents -->
<hr class="footer"/><address class="footer"><small>
2013-07-26 16:59:11 +00:00
Generated on Fri Jul 26 2013 17:48:17 for mxGraph by &#160;<a href="http://www.doxygen.org/index.html">
2013-04-04 11:51:15 +00:00
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.7.6.1
</small></address>
2012-05-21 20:32:26 +00:00
</body>
</html>