maxGraph/dotnet/docs/html/classcom_1_1mxgraph_1_1mxUt...

2812 lines
146 KiB
HTML

<!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"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.13"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>mxGraph: com.mxgraph.mxUtils Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr style="height: 56px;">
<td id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">mxGraph
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.13 -->
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
initMenu('',false,false,'search.php','Search');
});
</script>
<div id="main-nav"></div>
<div id="nav-path" class="navpath">
<ul>
<li class="navelem"><a class="el" href="namespacecom.html">com</a></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_1mxUtils.html">mxUtils</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-static-methods">Static Public Member Functions</a> &#124;
<a href="classcom_1_1mxgraph_1_1mxUtils-members.html">List of all members</a> </div>
<div class="headertitle">
<div class="title">com.mxgraph.mxUtils Class Reference</div> </div>
</div><!--header-->
<div class="contents">
<p>Contains various helper methods for use with <a class="el" href="classcom_1_1mxgraph_1_1mxGraph.html" title="Implements a graph object that allows to create diagrams from a graph model and stylesheet. ">mxGraph</a>.
<a href="classcom_1_1mxgraph_1_1mxUtils.html#details">More...</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:ad40387c905ea9767781032147e57ad69"><td class="memItemLeft" align="right" valign="top">String&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxUtils.html#ad40387c905ea9767781032147e57ad69">AddStylename</a> (String style, String stylename)</td></tr>
<tr class="memdesc:ad40387c905ea9767781032147e57ad69"><td class="mdescLeft">&#160;</td><td class="mdescRight">Adds the specified stylename to the given style if it does not already contain the stylename. <a href="#ad40387c905ea9767781032147e57ad69">More...</a><br /></td></tr>
<tr class="separator:ad40387c905ea9767781032147e57ad69"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acc98dfe47e191e2c23a0b073cac1394e"><td class="memItemLeft" align="right" valign="top">String&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxUtils.html#acc98dfe47e191e2c23a0b073cac1394e">RemoveStylename</a> (String style, String stylename)</td></tr>
<tr class="memdesc:acc98dfe47e191e2c23a0b073cac1394e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Removes all occurrences of the specified stylename in the given style and returns the updated style. <a href="#acc98dfe47e191e2c23a0b073cac1394e">More...</a><br /></td></tr>
<tr class="separator:acc98dfe47e191e2c23a0b073cac1394e"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-methods"></a>
Static Public Member Functions</h2></td></tr>
<tr class="memitem:a5e5e748665278e4c13eae738b0aa9c0e"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classcom_1_1mxgraph_1_1mxRectangle.html">mxRectangle</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxUtils.html#a5e5e748665278e4c13eae738b0aa9c0e">GetLabelSize</a> (string label, Dictionary&lt; string, Object &gt; style, int width)</td></tr>
<tr class="memdesc:a5e5e748665278e4c13eae738b0aa9c0e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the size of the given label. <a href="#a5e5e748665278e4c13eae738b0aa9c0e">More...</a><br /></td></tr>
<tr class="separator:a5e5e748665278e4c13eae738b0aa9c0e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a277844b1fa9826b5f887e98e1f8bf422"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classcom_1_1mxgraph_1_1mxRectangle.html">mxRectangle</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxUtils.html#a277844b1fa9826b5f887e98e1f8bf422">GetLabelPaintBounds</a> (String label, Dictionary&lt; string, Object &gt; style, bool isHtml, <a class="el" href="classcom_1_1mxgraph_1_1mxPoint.html">mxPoint</a> offset, <a class="el" href="classcom_1_1mxgraph_1_1mxRectangle.html">mxRectangle</a> vertexBounds, double scale)</td></tr>
<tr class="memdesc:a277844b1fa9826b5f887e98e1f8bf422"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the paint bounds for the given label. <a href="#a277844b1fa9826b5f887e98e1f8bf422">More...</a><br /></td></tr>
<tr class="separator:a277844b1fa9826b5f887e98e1f8bf422"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a960eda3dcd865882b043415e064c5029"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classcom_1_1mxgraph_1_1mxRectangle.html">mxRectangle</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxUtils.html#a960eda3dcd865882b043415e064c5029">GetScaledLabelBounds</a> (double x, double y, <a class="el" href="classcom_1_1mxgraph_1_1mxRectangle.html">mxRectangle</a> size, double outerWidth, double outerHeight, Dictionary&lt; string, Object &gt; style, double scale)</td></tr>
<tr class="memdesc:a960eda3dcd865882b043415e064c5029"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the bounds for a label for the given location and size, taking into account the alignment and spacing in the specified style, as well as the width and height of the rectangle that contains the label. (For edge labels this width and height is 0.) The scale is used to scale the given size and the spacings in the specified style. <a href="#a960eda3dcd865882b043415e064c5029">More...</a><br /></td></tr>
<tr class="separator:a960eda3dcd865882b043415e064c5029"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa98bc7391ba8428fe17a71209710402f"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classcom_1_1mxgraph_1_1mxRectangle.html">mxRectangle</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxUtils.html#aa98bc7391ba8428fe17a71209710402f">GetSizeForString</a> (String text, Font font)</td></tr>
<tr class="memdesc:aa98bc7391ba8428fe17a71209710402f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the size of the given text. <a href="#aa98bc7391ba8428fe17a71209710402f">More...</a><br /></td></tr>
<tr class="separator:aa98bc7391ba8428fe17a71209710402f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a66577804bf75e091aad8cd1cff0b4043"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classcom_1_1mxgraph_1_1mxRectangle.html">mxRectangle</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxUtils.html#a66577804bf75e091aad8cd1cff0b4043">GetSizeForString</a> (String text, Font font, int width)</td></tr>
<tr class="memdesc:a66577804bf75e091aad8cd1cff0b4043"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns an <a class="el" href="classcom_1_1mxgraph_1_1mxRectangle.html" title="Implements a 2-dimensional rectangle with double precision coordinates. ">mxRectangle</a> with the size (width and height in pixels) of the given text. <a href="#a66577804bf75e091aad8cd1cff0b4043">More...</a><br /></td></tr>
<tr class="separator:a66577804bf75e091aad8cd1cff0b4043"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9d86101980ecb4666c39b6bc7233ca29"><td class="memItemLeft" align="right" valign="top">static double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxUtils.html#a9d86101980ecb4666c39b6bc7233ca29">ToRadians</a> (double deg)</td></tr>
<tr class="memdesc:a9d86101980ecb4666c39b6bc7233ca29"><td class="mdescLeft">&#160;</td><td class="mdescRight">Converts the given degree to radians. <a href="#a9d86101980ecb4666c39b6bc7233ca29">More...</a><br /></td></tr>
<tr class="separator:a9d86101980ecb4666c39b6bc7233ca29"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae0610ed6653f45e9e016c63750331eb8"><td class="memItemLeft" align="right" valign="top">static double []&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxUtils.html#ae0610ed6653f45e9e016c63750331eb8">ArcToCurves</a> (double x0, double y0, double r1, double r2, double angle, double largeArcFlag, double sweepFlag, double x, double y)</td></tr>
<tr class="memdesc:ae0610ed6653f45e9e016c63750331eb8"><td class="mdescLeft">&#160;</td><td class="mdescRight">Converts the given arc to a series of curves. <a href="#ae0610ed6653f45e9e016c63750331eb8">More...</a><br /></td></tr>
<tr class="separator:ae0610ed6653f45e9e016c63750331eb8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a94b18c7f1e06c9f3c3525aff826b4681"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classcom_1_1mxgraph_1_1mxRectangle.html">mxRectangle</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxUtils.html#a94b18c7f1e06c9f3c3525aff826b4681">GetBoundingBox</a> (<a class="el" href="classcom_1_1mxgraph_1_1mxRectangle.html">mxRectangle</a> rect, double rotation)</td></tr>
<tr class="memdesc:a94b18c7f1e06c9f3c3525aff826b4681"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the bounding box of the rotated rectangle. <a href="#a94b18c7f1e06c9f3c3525aff826b4681">More...</a><br /></td></tr>
<tr class="separator:a94b18c7f1e06c9f3c3525aff826b4681"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab6276e7376b566d314952d662dcb3a9a"><td class="memItemLeft" align="right" valign="top">static <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_1mxUtils.html#ab6276e7376b566d314952d662dcb3a9a">GetRotatedPoint</a> (<a class="el" href="classcom_1_1mxgraph_1_1mxPoint.html">mxPoint</a> pt, double cos, double sin)</td></tr>
<tr class="memdesc:ab6276e7376b566d314952d662dcb3a9a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Rotates the given point by the given cos and sin. <a href="#ab6276e7376b566d314952d662dcb3a9a">More...</a><br /></td></tr>
<tr class="separator:ab6276e7376b566d314952d662dcb3a9a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a245090df37f29a475ff248f35ffb0d8f"><td class="memItemLeft" align="right" valign="top">static <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_1mxUtils.html#a245090df37f29a475ff248f35ffb0d8f">GetRotatedPoint</a> (<a class="el" href="classcom_1_1mxgraph_1_1mxPoint.html">mxPoint</a> pt, double cos, double sin, <a class="el" href="classcom_1_1mxgraph_1_1mxPoint.html">mxPoint</a> c)</td></tr>
<tr class="memdesc:a245090df37f29a475ff248f35ffb0d8f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Rotates the given point by the given cos and sin. <a href="#a245090df37f29a475ff248f35ffb0d8f">More...</a><br /></td></tr>
<tr class="separator:a245090df37f29a475ff248f35ffb0d8f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acff76b7f260484a1417051f79853ea91"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxUtils.html#acff76b7f260484a1417051f79853ea91">FillClippedRect</a> (Graphics g, Brush brush, int x, int y, int width, int height)</td></tr>
<tr class="separator:acff76b7f260484a1417051f79853ea91"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aafa690467e0dfc0a00cab4035fd9afe6"><td class="memItemLeft" align="right" valign="top">static Image&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxUtils.html#aafa690467e0dfc0a00cab4035fd9afe6">CreateImage</a> (int width, int height, Color? background)</td></tr>
<tr class="memdesc:aafa690467e0dfc0a00cab4035fd9afe6"><td class="mdescLeft">&#160;</td><td class="mdescRight">Creates an image for the given parameters. <a href="#aafa690467e0dfc0a00cab4035fd9afe6">More...</a><br /></td></tr>
<tr class="separator:aafa690467e0dfc0a00cab4035fd9afe6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afc6d9bb4033738843d8be1544403d251"><td class="memItemLeft" align="right" valign="top">static List&lt; <a class="el" href="classcom_1_1mxgraph_1_1mxPoint.html">mxPoint</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxUtils.html#afc6d9bb4033738843d8be1544403d251">TranslatePoints</a> (List&lt; <a class="el" href="classcom_1_1mxgraph_1_1mxPoint.html">mxPoint</a> &gt; pts, double dx, double dy)</td></tr>
<tr class="memdesc:afc6d9bb4033738843d8be1544403d251"><td class="mdescLeft">&#160;</td><td class="mdescRight">Creates a new list of new points obtained by translating the points in the given list by the given vector. Elements that are not mxPoints are added to the result as-is. <a href="#afc6d9bb4033738843d8be1544403d251">More...</a><br /></td></tr>
<tr class="separator:afc6d9bb4033738843d8be1544403d251"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa8db3f55e1d16b996c3bb5a0339741b5"><td class="memItemLeft" align="right" valign="top">static <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_1mxUtils.html#aa8db3f55e1d16b996c3bb5a0339741b5">Intersection</a> (double x0, double y0, double x1, double y1, double x2, double y2, double x3, double y3)</td></tr>
<tr class="memdesc:aa8db3f55e1d16b996c3bb5a0339741b5"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the intersection of two lines as an <a class="el" href="classcom_1_1mxgraph_1_1mxPoint.html" title="Implements a 2-dimensional point with double precision coordinates. ">mxPoint</a>. <a href="#aa8db3f55e1d16b996c3bb5a0339741b5">More...</a><br /></td></tr>
<tr class="separator:aa8db3f55e1d16b996c3bb5a0339741b5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa082d5f52d1a571a749c31e2e760fc9d"><td class="memItemLeft" align="right" valign="top">static String&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxUtils.html#aa082d5f52d1a571a749c31e2e760fc9d">GetStylename</a> (String style)</td></tr>
<tr class="memdesc:aa082d5f52d1a571a749c31e2e760fc9d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the stylename in a style of the form stylename[;key=value] or an empty string if the given style does not contain a stylename. <a href="#aa082d5f52d1a571a749c31e2e760fc9d">More...</a><br /></td></tr>
<tr class="separator:aa082d5f52d1a571a749c31e2e760fc9d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a23c378cdfd200eaba68db6749fa6035e"><td class="memItemLeft" align="right" valign="top">static String []&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxUtils.html#a23c378cdfd200eaba68db6749fa6035e">GetStylenames</a> (String style)</td></tr>
<tr class="memdesc:a23c378cdfd200eaba68db6749fa6035e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the stylenames in a style of the form stylename[;key=value] or an empty array if the given style does not contain any stylenames. <a href="#a23c378cdfd200eaba68db6749fa6035e">More...</a><br /></td></tr>
<tr class="separator:a23c378cdfd200eaba68db6749fa6035e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a91cebce14f6448b21b7e21f884575495"><td class="memItemLeft" align="right" valign="top">static int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxUtils.html#a91cebce14f6448b21b7e21f884575495">IndexOfStylename</a> (String style, String stylename)</td></tr>
<tr class="memdesc:a91cebce14f6448b21b7e21f884575495"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the index of the given stylename in the given style. This returns -1 if the given stylename does not occur (as a stylename) in the given style, otherwise it returns the index of the first character. <a href="#a91cebce14f6448b21b7e21f884575495">More...</a><br /></td></tr>
<tr class="separator:a91cebce14f6448b21b7e21f884575495"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac9d4da3391dd4c558df836fcc54c5497"><td class="memItemLeft" align="right" valign="top">static String&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxUtils.html#ac9d4da3391dd4c558df836fcc54c5497">RemoveAllStylenames</a> (String style)</td></tr>
<tr class="memdesc:ac9d4da3391dd4c558df836fcc54c5497"><td class="mdescLeft">&#160;</td><td class="mdescRight">Removes all stylenames from the given style and returns the updated style. <a href="#ac9d4da3391dd4c558df836fcc54c5497">More...</a><br /></td></tr>
<tr class="separator:ac9d4da3391dd4c558df836fcc54c5497"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a697f7eb719ecb713dd4557e46303b890"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxUtils.html#a697f7eb719ecb713dd4557e46303b890">SetCellStyles</a> (<a class="el" href="interfacecom_1_1mxgraph_1_1mxIGraphModel.html">mxIGraphModel</a> model, Object[] cells, String key, String value)</td></tr>
<tr class="memdesc:a697f7eb719ecb713dd4557e46303b890"><td class="mdescLeft">&#160;</td><td class="mdescRight">Assigns the value for the given key in the styles of the given cells, or removes the key from the styles if the value is null. <a href="#a697f7eb719ecb713dd4557e46303b890">More...</a><br /></td></tr>
<tr class="separator:a697f7eb719ecb713dd4557e46303b890"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac7495bafa9af65c13e18bfdde30fb80b"><td class="memItemLeft" align="right" valign="top">static String&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxUtils.html#ac7495bafa9af65c13e18bfdde30fb80b">SetStyle</a> (String style, String key, String value)</td></tr>
<tr class="memdesc:ac7495bafa9af65c13e18bfdde30fb80b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Adds or removes the given key, value pair to the style and returns the new style. If value is null or zero length then the key is removed from the style. <a href="#ac7495bafa9af65c13e18bfdde30fb80b">More...</a><br /></td></tr>
<tr class="separator:ac7495bafa9af65c13e18bfdde30fb80b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0a4ff54a4c4d30bcfef674b6912211d1"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxUtils.html#a0a4ff54a4c4d30bcfef674b6912211d1">SetCellStyleFlags</a> (<a class="el" href="interfacecom_1_1mxgraph_1_1mxIGraphModel.html">mxIGraphModel</a> model, Object[] cells, String key, int flag, Boolean value)</td></tr>
<tr class="memdesc:a0a4ff54a4c4d30bcfef674b6912211d1"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets or toggles the flag bit for the given key in the cell's styles. If value is null then the flag is toggled. <a href="#a0a4ff54a4c4d30bcfef674b6912211d1">More...</a><br /></td></tr>
<tr class="separator:a0a4ff54a4c4d30bcfef674b6912211d1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1f97b9f5cabc63ed0d3cf81bc09248da"><td class="memItemLeft" align="right" valign="top">static String&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxUtils.html#a1f97b9f5cabc63ed0d3cf81bc09248da">SetStyleFlag</a> (String style, String key, int flag, bool? value)</td></tr>
<tr class="memdesc:a1f97b9f5cabc63ed0d3cf81bc09248da"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets or removes the given key from the specified style and returns the new style. If value is null then the flag is toggled. <a href="#a1f97b9f5cabc63ed0d3cf81bc09248da">More...</a><br /></td></tr>
<tr class="separator:a1f97b9f5cabc63ed0d3cf81bc09248da"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab1faf80201d6e2755ed97f947f3fb0e8"><td class="memItemLeft" align="right" valign="top">static bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxUtils.html#ab1faf80201d6e2755ed97f947f3fb0e8">IsTrue</a> (Dictionary&lt; string, Object &gt; dict, string key)</td></tr>
<tr class="memdesc:ab1faf80201d6e2755ed97f947f3fb0e8"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns true if the dictionary contains true for the given key or false if no value is defined for the key. <a href="#ab1faf80201d6e2755ed97f947f3fb0e8">More...</a><br /></td></tr>
<tr class="separator:ab1faf80201d6e2755ed97f947f3fb0e8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae971b5ad5387de87e7406755bfa9e314"><td class="memItemLeft" align="right" valign="top">static bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxUtils.html#ae971b5ad5387de87e7406755bfa9e314">IsTrue</a> (Dictionary&lt; string, Object &gt; dict, string key, bool defaultValue)</td></tr>
<tr class="memdesc:ae971b5ad5387de87e7406755bfa9e314"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns true if the dictionary contains true for the given key or the given default value if no value is defined for the key. <a href="#ae971b5ad5387de87e7406755bfa9e314">More...</a><br /></td></tr>
<tr class="separator:ae971b5ad5387de87e7406755bfa9e314"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aae3b0a48e48c6f2f92f90b4b38d068a1"><td class="memItemLeft" align="right" valign="top">static int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxUtils.html#aae3b0a48e48c6f2f92f90b4b38d068a1">GetInt</a> (Dictionary&lt; string, Object &gt; dict, string key)</td></tr>
<tr class="memdesc:aae3b0a48e48c6f2f92f90b4b38d068a1"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the value for key in dictionary as an int or 0 if no value is defined for the key. <a href="#aae3b0a48e48c6f2f92f90b4b38d068a1">More...</a><br /></td></tr>
<tr class="separator:aae3b0a48e48c6f2f92f90b4b38d068a1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8bd652a690887862871ecaf494ff7bc6"><td class="memItemLeft" align="right" valign="top">static int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxUtils.html#a8bd652a690887862871ecaf494ff7bc6">GetInt</a> (Dictionary&lt; string, Object &gt; dict, string key, int defaultValue)</td></tr>
<tr class="memdesc:a8bd652a690887862871ecaf494ff7bc6"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the value for key in dictionary as an int or the given default value if no value is defined for the key. <a href="#a8bd652a690887862871ecaf494ff7bc6">More...</a><br /></td></tr>
<tr class="separator:a8bd652a690887862871ecaf494ff7bc6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3a77064a2057c43a1c90d01a5cd92022"><td class="memItemLeft" align="right" valign="top">static float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxUtils.html#a3a77064a2057c43a1c90d01a5cd92022">GetFloat</a> (Dictionary&lt; string, Object &gt; dict, string key)</td></tr>
<tr class="memdesc:a3a77064a2057c43a1c90d01a5cd92022"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the value for key in dictionary as a float or 0 if no value is defined for the key. <a href="#a3a77064a2057c43a1c90d01a5cd92022">More...</a><br /></td></tr>
<tr class="separator:a3a77064a2057c43a1c90d01a5cd92022"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a05ef064891fc4e94273c4eab51d2b731"><td class="memItemLeft" align="right" valign="top">static float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxUtils.html#a05ef064891fc4e94273c4eab51d2b731">GetFloat</a> (Dictionary&lt; string, Object &gt; dict, string key, float defaultValue)</td></tr>
<tr class="memdesc:a05ef064891fc4e94273c4eab51d2b731"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the value for key in dictionary as a float or the given default value if no value is defined for the key. <a href="#a05ef064891fc4e94273c4eab51d2b731">More...</a><br /></td></tr>
<tr class="separator:a05ef064891fc4e94273c4eab51d2b731"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8023d2240d233b8f754fb5c0ecdd644f"><td class="memItemLeft" align="right" valign="top">static double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxUtils.html#a8023d2240d233b8f754fb5c0ecdd644f">GetDouble</a> (Dictionary&lt; string, Object &gt; dict, string key)</td></tr>
<tr class="memdesc:a8023d2240d233b8f754fb5c0ecdd644f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the value for key in dictionary as a double or 0 if no value is defined for the key. <a href="#a8023d2240d233b8f754fb5c0ecdd644f">More...</a><br /></td></tr>
<tr class="separator:a8023d2240d233b8f754fb5c0ecdd644f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae98789e9f14d55af37e58334ed381b63"><td class="memItemLeft" align="right" valign="top">static double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxUtils.html#ae98789e9f14d55af37e58334ed381b63">GetDouble</a> (Dictionary&lt; string, Object &gt; dict, string key, double defaultValue)</td></tr>
<tr class="memdesc:ae98789e9f14d55af37e58334ed381b63"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the value for key in dictionary as a double or the given default value if no value is defined for the key. <a href="#ae98789e9f14d55af37e58334ed381b63">More...</a><br /></td></tr>
<tr class="separator:ae98789e9f14d55af37e58334ed381b63"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aab5a20a39aea1062f4ea855f7649bcdb"><td class="memItemLeft" align="right" valign="top">static string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxUtils.html#aab5a20a39aea1062f4ea855f7649bcdb">GetString</a> (Dictionary&lt; string, Object &gt; dict, string key)</td></tr>
<tr class="memdesc:aab5a20a39aea1062f4ea855f7649bcdb"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the value for key in dictionary as a string or null if no value is defined for the key. <a href="#aab5a20a39aea1062f4ea855f7649bcdb">More...</a><br /></td></tr>
<tr class="separator:aab5a20a39aea1062f4ea855f7649bcdb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac7d101ed508a27a77202df92c3b18fdb"><td class="memItemLeft" align="right" valign="top">static string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxUtils.html#ac7d101ed508a27a77202df92c3b18fdb">GetString</a> (Dictionary&lt; string, Object &gt; dict, string key, string defaultValue)</td></tr>
<tr class="memdesc:ac7d101ed508a27a77202df92c3b18fdb"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the value for key in dictionary as a string or the given default value if no value is defined for the key. <a href="#ac7d101ed508a27a77202df92c3b18fdb">More...</a><br /></td></tr>
<tr class="separator:ac7d101ed508a27a77202df92c3b18fdb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a075a7189dfd9c5ae696ddb5d5a43d97b"><td class="memItemLeft" align="right" valign="top">static Color&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxUtils.html#a075a7189dfd9c5ae696ddb5d5a43d97b">GetColor</a> (Dictionary&lt; string, Object &gt; dict, string key)</td></tr>
<tr class="memdesc:a075a7189dfd9c5ae696ddb5d5a43d97b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the value for key in dictionary as a color or null if no value is defined for the key. <a href="#a075a7189dfd9c5ae696ddb5d5a43d97b">More...</a><br /></td></tr>
<tr class="separator:a075a7189dfd9c5ae696ddb5d5a43d97b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a05bfb604d3118eae5a23db898b655516"><td class="memItemLeft" align="right" valign="top">static Color&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxUtils.html#a05bfb604d3118eae5a23db898b655516">GetColor</a> (Dictionary&lt; string, Object &gt; dict, string key, Color? defaultValue)</td></tr>
<tr class="memdesc:a05bfb604d3118eae5a23db898b655516"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the value for key in dictionary as a color or the given default value if no value is defined for the key. <a href="#a05bfb604d3118eae5a23db898b655516">More...</a><br /></td></tr>
<tr class="separator:a05bfb604d3118eae5a23db898b655516"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7034a53715cf11b9facfeaee4093a7c9"><td class="memItemLeft" align="right" valign="top">static Font&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxUtils.html#a7034a53715cf11b9facfeaee4093a7c9">GetFont</a> (Dictionary&lt; string, Object &gt; style)</td></tr>
<tr class="separator:a7034a53715cf11b9facfeaee4093a7c9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0962899d471a4dace5d818ec8b3f109c"><td class="memItemLeft" align="right" valign="top">static Font&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxUtils.html#a0962899d471a4dace5d818ec8b3f109c">GetFont</a> (Dictionary&lt; string, Object &gt; style, double scale)</td></tr>
<tr class="separator:a0962899d471a4dace5d818ec8b3f109c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a72ab31c3916d9e4b89fd3f3c9bd86d09"><td class="memItemLeft" align="right" valign="top">static StringFormat&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxUtils.html#a72ab31c3916d9e4b89fd3f3c9bd86d09">GetStringFormat</a> (Dictionary&lt; string, Object &gt; style)</td></tr>
<tr class="memdesc:a72ab31c3916d9e4b89fd3f3c9bd86d09"><td class="mdescLeft">&#160;</td><td class="mdescRight">Creates a new StringFormat object for the given style. <a href="#a72ab31c3916d9e4b89fd3f3c9bd86d09">More...</a><br /></td></tr>
<tr class="separator:a72ab31c3916d9e4b89fd3f3c9bd86d09"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad113f6d6a90c4d4b50976fd621abfc04"><td class="memItemLeft" align="right" valign="top">static string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxUtils.html#ad113f6d6a90c4d4b50976fd621abfc04">ReadFile</a> (string filename)</td></tr>
<tr class="memdesc:ad113f6d6a90c4d4b50976fd621abfc04"><td class="mdescLeft">&#160;</td><td class="mdescRight">Reads the given filename into a string. <a href="#ad113f6d6a90c4d4b50976fd621abfc04">More...</a><br /></td></tr>
<tr class="separator:ad113f6d6a90c4d4b50976fd621abfc04"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac2851e9f630cc88da412879809887f48"><td class="memItemLeft" align="right" valign="top">static string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxUtils.html#ac2851e9f630cc88da412879809887f48">GetMd5Hash</a> (string text)</td></tr>
<tr class="memdesc:ac2851e9f630cc88da412879809887f48"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the Md5 hash for the given text. <a href="#ac2851e9f630cc88da412879809887f48">More...</a><br /></td></tr>
<tr class="separator:ac2851e9f630cc88da412879809887f48"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a89cced4585b7060a17338abeafce9708"><td class="memItemLeft" align="right" valign="top">static bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxUtils.html#a89cced4585b7060a17338abeafce9708">IsNode</a> (Object value, String nodeName)</td></tr>
<tr class="memdesc:a89cced4585b7060a17338abeafce9708"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns true if the given value is an XML node with the specified nodename. specified. <a href="#a89cced4585b7060a17338abeafce9708">More...</a><br /></td></tr>
<tr class="separator:a89cced4585b7060a17338abeafce9708"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adcd861c713d54fac945444efeb2e372f"><td class="memItemLeft" align="right" valign="top">static bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxUtils.html#adcd861c713d54fac945444efeb2e372f">IsNode</a> (Object value, String nodeName, String attributeName, String attributeValue)</td></tr>
<tr class="memdesc:adcd861c713d54fac945444efeb2e372f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns true if the user object is an XML node with the specified type and and the optional attribute has the specified value or is not specified. <a href="#adcd861c713d54fac945444efeb2e372f">More...</a><br /></td></tr>
<tr class="separator:adcd861c713d54fac945444efeb2e372f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2a71827c05120b140caa51409a363282"><td class="memItemLeft" align="right" valign="top">static Image&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxUtils.html#a2a71827c05120b140caa51409a363282">LoadImage</a> (String url)</td></tr>
<tr class="memdesc:a2a71827c05120b140caa51409a363282"><td class="mdescLeft">&#160;</td><td class="mdescRight">Loads an image from the local filesystem, a data URI or any other URL. <a href="#a2a71827c05120b140caa51409a363282">More...</a><br /></td></tr>
<tr class="separator:a2a71827c05120b140caa51409a363282"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af18b643b1cfb52bf5c77b5df5e7c18f9"><td class="memItemLeft" align="right" valign="top">static XmlDocument&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxUtils.html#af18b643b1cfb52bf5c77b5df5e7c18f9">CreateDocument</a> ()</td></tr>
<tr class="memdesc:af18b643b1cfb52bf5c77b5df5e7c18f9"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns a new, empty DOM document. External entities and DTDs are ignored. <a href="#af18b643b1cfb52bf5c77b5df5e7c18f9">More...</a><br /></td></tr>
<tr class="separator:af18b643b1cfb52bf5c77b5df5e7c18f9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1f677c92a3d20dcfc5001ab4e18a9b2c"><td class="memItemLeft" align="right" valign="top">static XmlDocument&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxUtils.html#a1f677c92a3d20dcfc5001ab4e18a9b2c">LoadDocument</a> (string uri)</td></tr>
<tr class="memdesc:a1f677c92a3d20dcfc5001ab4e18a9b2c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns a new DOM document for the given URI. <a href="#a1f677c92a3d20dcfc5001ab4e18a9b2c">More...</a><br /></td></tr>
<tr class="separator:a1f677c92a3d20dcfc5001ab4e18a9b2c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a83a1e09bac32c566db46f4e3855fb79c"><td class="memItemLeft" align="right" valign="top">static XmlDocument&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxUtils.html#a83a1e09bac32c566db46f4e3855fb79c">ParseXml</a> (string xml)</td></tr>
<tr class="memdesc:a83a1e09bac32c566db46f4e3855fb79c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns a document that represents the given XML string. <a href="#a83a1e09bac32c566db46f4e3855fb79c">More...</a><br /></td></tr>
<tr class="separator:a83a1e09bac32c566db46f4e3855fb79c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2e6d993221ee919212a3581e0da25ac0"><td class="memItemLeft" align="right" valign="top">static XmlNode&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxUtils.html#a2e6d993221ee919212a3581e0da25ac0">FindNode</a> (XmlNode node, String attr, String value)</td></tr>
<tr class="memdesc:a2e6d993221ee919212a3581e0da25ac0"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the first node where attr equals value. This implementation does not use XPath. <a href="#a2e6d993221ee919212a3581e0da25ac0">More...</a><br /></td></tr>
<tr class="separator:a2e6d993221ee919212a3581e0da25ac0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa561dea2c3fbed775659f67f04742a94"><td class="memItemLeft" align="right" valign="top">static Object&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxUtils.html#aa561dea2c3fbed775659f67f04742a94">Eval</a> (string expression)</td></tr>
<tr class="memdesc:aa561dea2c3fbed775659f67f04742a94"><td class="mdescLeft">&#160;</td><td class="mdescRight">Evaluates a Java expression to a class member using <a class="el" href="classcom_1_1mxgraph_1_1mxCodecRegistry.html" title="Static class that acts as a global registry for codecs. See mxCodec for an example of using this clas...">mxCodecRegistry</a>. The range of supported expressions is limited to static class members such as <a class="el" href="classcom_1_1mxgraph_1_1mxEdgeStyle.html#a7c4baa6df25719619d8d413c0bfad310" title="Uses either SideToSide or TopToBottom depending on the horizontal flag in the cell style...">mxEdgeStyle.ElbowConnector</a>. <a href="#aa561dea2c3fbed775659f67f04742a94">More...</a><br /></td></tr>
<tr class="separator:aa561dea2c3fbed775659f67f04742a94"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a32e5d24d1f3a04a9deea12d561593437"><td class="memItemLeft" align="right" valign="top">static String&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxUtils.html#a32e5d24d1f3a04a9deea12d561593437">HtmlEntities</a> (String text)</td></tr>
<tr class="memdesc:a32e5d24d1f3a04a9deea12d561593437"><td class="mdescLeft">&#160;</td><td class="mdescRight">Converts the ampersand, quote, prime, less-than and greater-than characters to their corresponding HTML entities in the given string. <a href="#a32e5d24d1f3a04a9deea12d561593437">More...</a><br /></td></tr>
<tr class="separator:a32e5d24d1f3a04a9deea12d561593437"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a23d23b0548bc6e2f089d007c1b87319a"><td class="memItemLeft" align="right" valign="top">static string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxUtils.html#a23d23b0548bc6e2f089d007c1b87319a">GetXml</a> (XmlNode node)</td></tr>
<tr class="memdesc:a23d23b0548bc6e2f089d007c1b87319a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns a string that represents the given node. <a href="#a23d23b0548bc6e2f089d007c1b87319a">More...</a><br /></td></tr>
<tr class="separator:a23d23b0548bc6e2f089d007c1b87319a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2cd2313ca4a9141baf98352e055cfa3e"><td class="memItemLeft" align="right" valign="top">static string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxUtils.html#a2cd2313ca4a9141baf98352e055cfa3e">GetPrettyXml</a> (XmlNode node)</td></tr>
<tr class="memdesc:a2cd2313ca4a9141baf98352e055cfa3e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns a pretty-printed XML string for the given node. <a href="#a2cd2313ca4a9141baf98352e055cfa3e">More...</a><br /></td></tr>
<tr class="separator:a2cd2313ca4a9141baf98352e055cfa3e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a65b37fce7823b8c21e49e9234c9c2689"><td class="memItemLeft" align="right" valign="top">static string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxUtils.html#a65b37fce7823b8c21e49e9234c9c2689">GetXml</a> (XmlNode node, Formatting formatting)</td></tr>
<tr class="memdesc:a65b37fce7823b8c21e49e9234c9c2689"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns a pretty-printed XML string for the given node. <a href="#a65b37fce7823b8c21e49e9234c9c2689">More...</a><br /></td></tr>
<tr class="separator:a65b37fce7823b8c21e49e9234c9c2689"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Contains various helper methods for use with <a class="el" href="classcom_1_1mxgraph_1_1mxGraph.html" title="Implements a graph object that allows to create diagrams from a graph model and stylesheet. ">mxGraph</a>. </p>
</div><h2 class="groupheader">Member Function Documentation</h2>
<a id="ad40387c905ea9767781032147e57ad69"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad40387c905ea9767781032147e57ad69">&#9670;&nbsp;</a></span>AddStylename()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">String com.mxgraph.mxUtils.AddStylename </td>
<td>(</td>
<td class="paramtype">String&#160;</td>
<td class="paramname"><em>style</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">String&#160;</td>
<td class="paramname"><em>stylename</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Adds the specified stylename to the given style if it does not already contain the stylename. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">style</td><td></td></tr>
<tr><td class="paramname">stylename</td><td></td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd></dd></dl>
</div>
</div>
<a id="ae0610ed6653f45e9e016c63750331eb8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae0610ed6653f45e9e016c63750331eb8">&#9670;&nbsp;</a></span>ArcToCurves()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">static double [] com.mxgraph.mxUtils.ArcToCurves </td>
<td>(</td>
<td class="paramtype">double&#160;</td>
<td class="paramname"><em>x0</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">double&#160;</td>
<td class="paramname"><em>y0</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">double&#160;</td>
<td class="paramname"><em>r1</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">double&#160;</td>
<td class="paramname"><em>r2</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">double&#160;</td>
<td class="paramname"><em>angle</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">double&#160;</td>
<td class="paramname"><em>largeArcFlag</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">double&#160;</td>
<td class="paramname"><em>sweepFlag</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">double&#160;</td>
<td class="paramname"><em>x</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">double&#160;</td>
<td class="paramname"><em>y</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Converts the given arc to a series of curves. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">x0</td><td></td></tr>
<tr><td class="paramname">y0</td><td></td></tr>
<tr><td class="paramname">r1</td><td></td></tr>
<tr><td class="paramname">r2</td><td></td></tr>
<tr><td class="paramname">angle</td><td></td></tr>
<tr><td class="paramname">largeArcFlag</td><td></td></tr>
<tr><td class="paramname">sweepFlag</td><td></td></tr>
<tr><td class="paramname">x</td><td></td></tr>
<tr><td class="paramname">y</td><td></td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd></dd></dl>
<p class="reference">Referenced by <a class="el" href="classcom_1_1mxgraph_1_1mxStencil.html#a66ab838c70de20b1c3c77331a59fdfcd">com.mxgraph.mxStencil.DrawElement()</a>.</p>
</div>
</div>
<a id="af18b643b1cfb52bf5c77b5df5e7c18f9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af18b643b1cfb52bf5c77b5df5e7c18f9">&#9670;&nbsp;</a></span>CreateDocument()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">static XmlDocument com.mxgraph.mxUtils.CreateDocument </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns a new, empty DOM document. External entities and DTDs are ignored. </p>
<dl class="section return"><dt>Returns</dt><dd>Returns a new DOM document.</dd></dl>
<p class="reference">Referenced by <a class="el" href="classcom_1_1mxgraph_1_1mxCodec.html#abc2542faf421e95e1074c8b4c8b88b21">com.mxgraph.mxCodec.mxCodec()</a>.</p>
</div>
</div>
<a id="aafa690467e0dfc0a00cab4035fd9afe6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aafa690467e0dfc0a00cab4035fd9afe6">&#9670;&nbsp;</a></span>CreateImage()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">static Image com.mxgraph.mxUtils.CreateImage </td>
<td>(</td>
<td class="paramtype">int&#160;</td>
<td class="paramname"><em>width</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int&#160;</td>
<td class="paramname"><em>height</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">Color?&#160;</td>
<td class="paramname"><em>background</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Creates an image for the given parameters. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">width</td><td></td></tr>
<tr><td class="paramname">height</td><td></td></tr>
<tr><td class="paramname">background</td><td></td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd></dd></dl>
<p class="reference">Referenced by <a class="el" href="classcom_1_1mxgraph_1_1mxImageCanvas.html#a50511dc802e3ff222e73f0f29b541b83">com.mxgraph.mxImageCanvas.mxImageCanvas()</a>.</p>
</div>
</div>
<a id="aa561dea2c3fbed775659f67f04742a94"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa561dea2c3fbed775659f67f04742a94">&#9670;&nbsp;</a></span>Eval()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">static Object com.mxgraph.mxUtils.Eval </td>
<td>(</td>
<td class="paramtype">string&#160;</td>
<td class="paramname"><em>expression</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Evaluates a Java expression to a class member using <a class="el" href="classcom_1_1mxgraph_1_1mxCodecRegistry.html" title="Static class that acts as a global registry for codecs. See mxCodec for an example of using this clas...">mxCodecRegistry</a>. The range of supported expressions is limited to static class members such as <a class="el" href="classcom_1_1mxgraph_1_1mxEdgeStyle.html#a7c4baa6df25719619d8d413c0bfad310" title="Uses either SideToSide or TopToBottom depending on the horizontal flag in the cell style...">mxEdgeStyle.ElbowConnector</a>. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">expression</td><td></td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd></dd></dl>
<p class="reference">References <a class="el" href="classcom_1_1mxgraph_1_1mxCodecRegistry.html#a702f375499d93ae78d590b19a38ee3ea">com.mxgraph.mxCodecRegistry.GetTypeForName()</a>.</p>
<p class="reference">Referenced by <a class="el" href="classcom_1_1mxgraph_1_1mxStylesheetCodec.html#a0b91a548bbfba3a0c29b929ca223f7a4">com.mxgraph.mxStylesheetCodec.Decode()</a>, <a class="el" href="classcom_1_1mxgraph_1_1mxGraphView.html#ab4cead25b7ed89a49857fb0f618f822c">com.mxgraph.mxGraphView.GetEdgeStyle()</a>, and <a class="el" href="classcom_1_1mxgraph_1_1mxGraphView.html#af96d608b7ad7507cf69e5cbbeab7ca31">com.mxgraph.mxGraphView.GetPerimeterFunction()</a>.</p>
</div>
</div>
<a id="acff76b7f260484a1417051f79853ea91"></a>
<h2 class="memtitle"><span class="permalink"><a href="#acff76b7f260484a1417051f79853ea91">&#9670;&nbsp;</a></span>FillClippedRect()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">static void com.mxgraph.mxUtils.FillClippedRect </td>
<td>(</td>
<td class="paramtype">Graphics&#160;</td>
<td class="paramname"><em>g</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">Brush&#160;</td>
<td class="paramname"><em>brush</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int&#160;</td>
<td class="paramname"><em>x</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int&#160;</td>
<td class="paramname"><em>y</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int&#160;</td>
<td class="paramname"><em>width</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int&#160;</td>
<td class="paramname"><em>height</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p></p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">g</td><td></td></tr>
<tr><td class="paramname">brush</td><td></td></tr>
<tr><td class="paramname">x</td><td></td></tr>
<tr><td class="paramname">y</td><td></td></tr>
<tr><td class="paramname">width</td><td></td></tr>
<tr><td class="paramname">height</td><td></td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a id="a2e6d993221ee919212a3581e0da25ac0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2e6d993221ee919212a3581e0da25ac0">&#9670;&nbsp;</a></span>FindNode()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">static XmlNode com.mxgraph.mxUtils.FindNode </td>
<td>(</td>
<td class="paramtype">XmlNode&#160;</td>
<td class="paramname"><em>node</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">String&#160;</td>
<td class="paramname"><em>attr</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">String&#160;</td>
<td class="paramname"><em>value</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns the first node where attr equals value. This implementation does not use XPath. </p>
</div>
</div>
<a id="a94b18c7f1e06c9f3c3525aff826b4681"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a94b18c7f1e06c9f3c3525aff826b4681">&#9670;&nbsp;</a></span>GetBoundingBox()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">static <a class="el" href="classcom_1_1mxgraph_1_1mxRectangle.html">mxRectangle</a> com.mxgraph.mxUtils.GetBoundingBox </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classcom_1_1mxgraph_1_1mxRectangle.html">mxRectangle</a>&#160;</td>
<td class="paramname"><em>rect</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">double&#160;</td>
<td class="paramname"><em>rotation</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns the bounding box of the rotated rectangle. </p>
<p class="reference">References <a class="el" href="classcom_1_1mxgraph_1_1mxRectangle.html#a919964106e020eff0bad2f4e7d2c752b">com.mxgraph.mxRectangle.Add()</a>, <a class="el" href="classcom_1_1mxgraph_1_1mxRectangle.html#af808af89d775d2082b8f4fa449b826d9">com.mxgraph.mxRectangle.Height</a>, <a class="el" href="classcom_1_1mxgraph_1_1mxRectangle.html#a25e837182fe7e32ff07c5da012ee3cf8">com.mxgraph.mxRectangle.Width</a>, <a class="el" href="classcom_1_1mxgraph_1_1mxPoint.html#a33540da347ee0a5b4c06c787ab6d0b85">com.mxgraph.mxPoint.X</a>, and <a class="el" href="classcom_1_1mxgraph_1_1mxPoint.html#ab11a2fa8c8ef7d3d3727feb60ce75a50">com.mxgraph.mxPoint.Y</a>.</p>
<p class="reference">Referenced by <a class="el" href="classcom_1_1mxgraph_1_1mxGraphView.html#a55327a8cf146e104eb1b33a27669e6d2">com.mxgraph.mxGraphView.UpdateBoundingBox()</a>.</p>
</div>
</div>
<a id="a075a7189dfd9c5ae696ddb5d5a43d97b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a075a7189dfd9c5ae696ddb5d5a43d97b">&#9670;&nbsp;</a></span>GetColor() <span class="overload">[1/2]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">static Color com.mxgraph.mxUtils.GetColor </td>
<td>(</td>
<td class="paramtype">Dictionary&lt; string, Object &gt;&#160;</td>
<td class="paramname"><em>dict</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">string&#160;</td>
<td class="paramname"><em>key</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns the value for key in dictionary as a color or null if no value is defined for the key. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">dict</td><td>Dictionary that contains the key, value pairs.</td></tr>
<tr><td class="paramname">key</td><td>Key whose value should be returned.</td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Returns the color value for key in dict.</dd></dl>
<p class="reference">Referenced by <a class="el" href="classcom_1_1mxgraph_1_1mxGdiCanvas.html#a3e760b411c7644732fc51bc3f4d2ab87">com.mxgraph.mxGdiCanvas.DrawLine()</a>, <a class="el" href="classcom_1_1mxgraph_1_1mxGdiCanvas.html#a916256e385f3996f715b5e0634733e93">com.mxgraph.mxGdiCanvas.DrawShape()</a>, and <a class="el" href="classcom_1_1mxgraph_1_1mxGdiCanvas.html#aa3cbd5664957d03feb044be31d7f4140">com.mxgraph.mxGdiCanvas.DrawText()</a>.</p>
</div>
</div>
<a id="a05bfb604d3118eae5a23db898b655516"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a05bfb604d3118eae5a23db898b655516">&#9670;&nbsp;</a></span>GetColor() <span class="overload">[2/2]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">static Color com.mxgraph.mxUtils.GetColor </td>
<td>(</td>
<td class="paramtype">Dictionary&lt; string, Object &gt;&#160;</td>
<td class="paramname"><em>dict</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">string&#160;</td>
<td class="paramname"><em>key</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">Color?&#160;</td>
<td class="paramname"><em>defaultValue</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns the value for key in dictionary as a color or the given default value if no value is defined for the key. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">dict</td><td>Dictionary that contains the key, value pairs.</td></tr>
<tr><td class="paramname">key</td><td>Key whose value should be returned.</td></tr>
<tr><td class="paramname">defaultValue</td><td>Default value to return if the key is undefined.</td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Returns the color value for key in dict.</dd></dl>
</div>
</div>
<a id="a8023d2240d233b8f754fb5c0ecdd644f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8023d2240d233b8f754fb5c0ecdd644f">&#9670;&nbsp;</a></span>GetDouble() <span class="overload">[1/2]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">static double com.mxgraph.mxUtils.GetDouble </td>
<td>(</td>
<td class="paramtype">Dictionary&lt; string, Object &gt;&#160;</td>
<td class="paramname"><em>dict</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">string&#160;</td>
<td class="paramname"><em>key</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns the value for key in dictionary as a double or 0 if no value is defined for the key. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">dict</td><td>Dictionary that contains the key, value pairs.</td></tr>
<tr><td class="paramname">key</td><td>Key whose value should be returned.</td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Returns the double value for key in dict.</dd></dl>
<p class="reference">Referenced by <a class="el" href="classcom_1_1mxgraph_1_1mxGraphViewImageReader.html#ac751f8dd4b8f3109adecb6dfc54e653a">com.mxgraph.mxGraphViewImageReader.CreateCanvas()</a>, <a class="el" href="classcom_1_1mxgraph_1_1mxGdiCanvas.html#a76bd38ecebca3a73798ac61c58a5015c">com.mxgraph.mxGdiCanvas.DrawCell()</a>, <a class="el" href="classcom_1_1mxgraph_1_1mxStencil.html#a3f5d08565604c84c226eb0f2e9476ec4">com.mxgraph.mxStencil.DrawShape()</a>, <a class="el" href="classcom_1_1mxgraph_1_1mxGraph.html#ae2d5b2c142e9724cd0b02036bcee9657">com.mxgraph.mxGraph.GetConnectionConstraint()</a>, <a class="el" href="classcom_1_1mxgraph_1_1mxUtils.html#a277844b1fa9826b5f887e98e1f8bf422">com.mxgraph.mxUtils.GetLabelPaintBounds()</a>, <a class="el" href="classcom_1_1mxgraph_1_1mxGraphView.html#accd44716e77dd90354d8c9d2c90eb5fe">com.mxgraph.mxGraphView.GetPerimeterBounds()</a>, <a class="el" href="classcom_1_1mxgraph_1_1mxGraph.html#a4b523527c844770a46b72bfb1d1e0664">com.mxgraph.mxGraph.HitsSwimlaneContent()</a>, <a class="el" href="classcom_1_1mxgraph_1_1mxStencil.html#a4b18427a4798e1a211ab066ffe87d9b0">com.mxgraph.mxStencil.PaintShape()</a>, <a class="el" href="classcom_1_1mxgraph_1_1mxGraphViewReader.html#ab9f05c7beb8e61208b89de407a11b7c4">com.mxgraph.mxGraphViewReader.ParseElement()</a>, <a class="el" href="classcom_1_1mxgraph_1_1mxGraphViewReader.html#a00df67012ee01cdb6e02dbcc1ef1c546">com.mxgraph.mxGraphViewReader.ParseState()</a>, <a class="el" href="classcom_1_1mxgraph_1_1mxGraphView.html#a55327a8cf146e104eb1b33a27669e6d2">com.mxgraph.mxGraphView.UpdateBoundingBox()</a>, and <a class="el" href="classcom_1_1mxgraph_1_1mxGraphView.html#a8fb9eed5e15f3cd56903c5218123551e">com.mxgraph.mxGraphView.UpdateFloatingTerminalPoint()</a>.</p>
</div>
</div>
<a id="ae98789e9f14d55af37e58334ed381b63"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae98789e9f14d55af37e58334ed381b63">&#9670;&nbsp;</a></span>GetDouble() <span class="overload">[2/2]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">static double com.mxgraph.mxUtils.GetDouble </td>
<td>(</td>
<td class="paramtype">Dictionary&lt; string, Object &gt;&#160;</td>
<td class="paramname"><em>dict</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">string&#160;</td>
<td class="paramname"><em>key</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">double&#160;</td>
<td class="paramname"><em>defaultValue</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns the value for key in dictionary as a double or the given default value if no value is defined for the key. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">dict</td><td>Dictionary that contains the key, value pairs.</td></tr>
<tr><td class="paramname">key</td><td>Key whose value should be returned.</td></tr>
<tr><td class="paramname">defaultValue</td><td>Default value to return if the key is undefined.</td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Returns the double value for key in dict.</dd></dl>
</div>
</div>
<a id="a3a77064a2057c43a1c90d01a5cd92022"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3a77064a2057c43a1c90d01a5cd92022">&#9670;&nbsp;</a></span>GetFloat() <span class="overload">[1/2]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">static float com.mxgraph.mxUtils.GetFloat </td>
<td>(</td>
<td class="paramtype">Dictionary&lt; string, Object &gt;&#160;</td>
<td class="paramname"><em>dict</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">string&#160;</td>
<td class="paramname"><em>key</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns the value for key in dictionary as a float or 0 if no value is defined for the key. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">dict</td><td>Dictionary that contains the key, value pairs.</td></tr>
<tr><td class="paramname">key</td><td>Key whose value should be returned.</td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Returns the float value for key in dict.</dd></dl>
<p class="reference">Referenced by <a class="el" href="classcom_1_1mxgraph_1_1mxGdiCanvas.html#a76bd38ecebca3a73798ac61c58a5015c">com.mxgraph.mxGdiCanvas.DrawCell()</a>, <a class="el" href="classcom_1_1mxgraph_1_1mxGdiCanvas.html#a81957cbbcb49169c9ec9c1ee29e9e06b">com.mxgraph.mxGdiCanvas.DrawGlassEffect()</a>, <a class="el" href="classcom_1_1mxgraph_1_1mxGdiCanvas.html#a3e760b411c7644732fc51bc3f4d2ab87">com.mxgraph.mxGdiCanvas.DrawLine()</a>, <a class="el" href="classcom_1_1mxgraph_1_1mxGdiCanvas.html#a916256e385f3996f715b5e0634733e93">com.mxgraph.mxGdiCanvas.DrawShape()</a>, <a class="el" href="classcom_1_1mxgraph_1_1mxGdiCanvas.html#aa3cbd5664957d03feb044be31d7f4140">com.mxgraph.mxGdiCanvas.DrawText()</a>, <a class="el" href="classcom_1_1mxgraph_1_1mxGraphView.html#afcc4eb83717e11ade074e6e74fa53252">com.mxgraph.mxGraphView.GetRoutingCenterX()</a>, and <a class="el" href="classcom_1_1mxgraph_1_1mxGraphView.html#a93253626cb05b515105bee7b9ee38426">com.mxgraph.mxGraphView.GetRoutingCenterY()</a>.</p>
</div>
</div>
<a id="a05ef064891fc4e94273c4eab51d2b731"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a05ef064891fc4e94273c4eab51d2b731">&#9670;&nbsp;</a></span>GetFloat() <span class="overload">[2/2]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">static float com.mxgraph.mxUtils.GetFloat </td>
<td>(</td>
<td class="paramtype">Dictionary&lt; string, Object &gt;&#160;</td>
<td class="paramname"><em>dict</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">string&#160;</td>
<td class="paramname"><em>key</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">float&#160;</td>
<td class="paramname"><em>defaultValue</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns the value for key in dictionary as a float or the given default value if no value is defined for the key. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">dict</td><td>Dictionary that contains the key, value pairs.</td></tr>
<tr><td class="paramname">key</td><td>Key whose value should be returned.</td></tr>
<tr><td class="paramname">defaultValue</td><td>Default value to return if the key is undefined.</td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Returns the float value for key in dict.</dd></dl>
</div>
</div>
<a id="a7034a53715cf11b9facfeaee4093a7c9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7034a53715cf11b9facfeaee4093a7c9">&#9670;&nbsp;</a></span>GetFont() <span class="overload">[1/2]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">static Font com.mxgraph.mxUtils.GetFont </td>
<td>(</td>
<td class="paramtype">Dictionary&lt; string, Object &gt;&#160;</td>
<td class="paramname"><em>style</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p></p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">style</td><td></td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd></dd></dl>
<p class="reference">Referenced by <a class="el" href="classcom_1_1mxgraph_1_1mxGdiCanvas.html#aa3cbd5664957d03feb044be31d7f4140">com.mxgraph.mxGdiCanvas.DrawText()</a>.</p>
</div>
</div>
<a id="a0962899d471a4dace5d818ec8b3f109c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0962899d471a4dace5d818ec8b3f109c">&#9670;&nbsp;</a></span>GetFont() <span class="overload">[2/2]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">static Font com.mxgraph.mxUtils.GetFont </td>
<td>(</td>
<td class="paramtype">Dictionary&lt; string, Object &gt;&#160;</td>
<td class="paramname"><em>style</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">double&#160;</td>
<td class="paramname"><em>scale</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p></p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">style</td><td></td></tr>
<tr><td class="paramname">scale</td><td></td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd></dd></dl>
<p class="reference">References <a class="el" href="classcom_1_1mxgraph_1_1mxConstants.html#a0122184a99891816d3409f52f804a03e">com.mxgraph.mxConstants.DEFAULT_FONTFAMILY</a>, <a class="el" href="classcom_1_1mxgraph_1_1mxConstants.html#abe6391bb6bddede9502665d4838f99a3">com.mxgraph.mxConstants.DEFAULT_FONTSIZE</a>, <a class="el" href="classcom_1_1mxgraph_1_1mxConstants.html#a6d8856e65df26ae39720d1bad35cee72">com.mxgraph.mxConstants.FONT_BOLD</a>, <a class="el" href="classcom_1_1mxgraph_1_1mxConstants.html#a57f7080c104c735fe268c4f7950db187">com.mxgraph.mxConstants.FONT_ITALIC</a>, <a class="el" href="classcom_1_1mxgraph_1_1mxConstants.html#a73c0916db7ee8d6eaaeba09dc6e0bea5">com.mxgraph.mxConstants.FONT_SIZEFACTOR</a>, <a class="el" href="classcom_1_1mxgraph_1_1mxConstants.html#a6499db7b53d9d9399ee48082c103b4d4">com.mxgraph.mxConstants.FONT_UNDERLINE</a>, <a class="el" href="classcom_1_1mxgraph_1_1mxConstants.html#acdc69ec4db5edac75a4f07cd9de6aecd">com.mxgraph.mxConstants.STYLE_FONTFAMILY</a>, <a class="el" href="classcom_1_1mxgraph_1_1mxConstants.html#aff1a3563af92c9814b375531886085c7">com.mxgraph.mxConstants.STYLE_FONTSIZE</a>, and <a class="el" href="classcom_1_1mxgraph_1_1mxConstants.html#a3649b54150b656e80d8e1ce7b16008c8">com.mxgraph.mxConstants.STYLE_FONTSTYLE</a>.</p>
</div>
</div>
<a id="aae3b0a48e48c6f2f92f90b4b38d068a1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aae3b0a48e48c6f2f92f90b4b38d068a1">&#9670;&nbsp;</a></span>GetInt() <span class="overload">[1/2]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">static int com.mxgraph.mxUtils.GetInt </td>
<td>(</td>
<td class="paramtype">Dictionary&lt; string, Object &gt;&#160;</td>
<td class="paramname"><em>dict</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">string&#160;</td>
<td class="paramname"><em>key</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns the value for key in dictionary as an int or 0 if no value is defined for the key. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">dict</td><td>Dictionary that contains the key, value pairs.</td></tr>
<tr><td class="paramname">key</td><td>Key whose value should be returned.</td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Returns the integer value for key in dict.</dd></dl>
<p class="reference">Referenced by <a class="el" href="classcom_1_1mxgraph_1_1mxGdiCanvas.html#a916256e385f3996f715b5e0634733e93">com.mxgraph.mxGdiCanvas.DrawShape()</a>, and <a class="el" href="classcom_1_1mxgraph_1_1mxGraphView.html#a55327a8cf146e104eb1b33a27669e6d2">com.mxgraph.mxGraphView.UpdateBoundingBox()</a>.</p>
</div>
</div>
<a id="a8bd652a690887862871ecaf494ff7bc6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8bd652a690887862871ecaf494ff7bc6">&#9670;&nbsp;</a></span>GetInt() <span class="overload">[2/2]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">static int com.mxgraph.mxUtils.GetInt </td>
<td>(</td>
<td class="paramtype">Dictionary&lt; string, Object &gt;&#160;</td>
<td class="paramname"><em>dict</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">string&#160;</td>
<td class="paramname"><em>key</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int&#160;</td>
<td class="paramname"><em>defaultValue</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns the value for key in dictionary as an int or the given default value if no value is defined for the key. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">dict</td><td>Dictionary that contains the key, value pairs.</td></tr>
<tr><td class="paramname">key</td><td>Key whose value should be returned.</td></tr>
<tr><td class="paramname">defaultValue</td><td>Default value to return if the key is undefined.</td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Returns the integer value for key in dict.</dd></dl>
</div>
</div>
<a id="a277844b1fa9826b5f887e98e1f8bf422"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a277844b1fa9826b5f887e98e1f8bf422">&#9670;&nbsp;</a></span>GetLabelPaintBounds()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">static <a class="el" href="classcom_1_1mxgraph_1_1mxRectangle.html">mxRectangle</a> com.mxgraph.mxUtils.GetLabelPaintBounds </td>
<td>(</td>
<td class="paramtype">String&#160;</td>
<td class="paramname"><em>label</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">Dictionary&lt; string, Object &gt;&#160;</td>
<td class="paramname"><em>style</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">bool&#160;</td>
<td class="paramname"><em>isHtml</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="classcom_1_1mxgraph_1_1mxPoint.html">mxPoint</a>&#160;</td>
<td class="paramname"><em>offset</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="classcom_1_1mxgraph_1_1mxRectangle.html">mxRectangle</a>&#160;</td>
<td class="paramname"><em>vertexBounds</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">double&#160;</td>
<td class="paramname"><em>scale</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns the paint bounds for the given label. </p>
<dl class="section return"><dt>Returns</dt><dd></dd></dl>
<p class="reference">References <a class="el" href="classcom_1_1mxgraph_1_1mxConstants.html#a67af58074d8d5b02973725482c4ef938">com.mxgraph.mxConstants.DEFAULT_STARTSIZE</a>, <a class="el" href="classcom_1_1mxgraph_1_1mxRectangle.html#ad0258c7ff572fad9039541b1ae064c98">com.mxgraph.mxRectangle.Equals()</a>, <a class="el" href="classcom_1_1mxgraph_1_1mxUtils.html#a8023d2240d233b8f754fb5c0ecdd644f">com.mxgraph.mxUtils.GetDouble()</a>, <a class="el" href="classcom_1_1mxgraph_1_1mxUtils.html#a5e5e748665278e4c13eae738b0aa9c0e">com.mxgraph.mxUtils.GetLabelSize()</a>, <a class="el" href="classcom_1_1mxgraph_1_1mxUtils.html#a960eda3dcd865882b043415e064c5029">com.mxgraph.mxUtils.GetScaledLabelBounds()</a>, <a class="el" href="classcom_1_1mxgraph_1_1mxUtils.html#aab5a20a39aea1062f4ea855f7649bcdb">com.mxgraph.mxUtils.GetString()</a>, <a class="el" href="classcom_1_1mxgraph_1_1mxRectangle.html#af808af89d775d2082b8f4fa449b826d9">com.mxgraph.mxRectangle.Height</a>, <a class="el" href="classcom_1_1mxgraph_1_1mxUtils.html#ab1faf80201d6e2755ed97f947f3fb0e8">com.mxgraph.mxUtils.IsTrue()</a>, <a class="el" href="classcom_1_1mxgraph_1_1mxConstants.html#aba1b6c4d32841935d40e60115f5d6475">com.mxgraph.mxConstants.SHAPE_SWIMLANE</a>, <a class="el" href="classcom_1_1mxgraph_1_1mxConstants.html#a002377ed3ad55948c810468fac404b11">com.mxgraph.mxConstants.STYLE_HORIZONTAL</a>, <a class="el" href="classcom_1_1mxgraph_1_1mxConstants.html#a0128d9ffb622a755ee52dfa2acc6faba">com.mxgraph.mxConstants.STYLE_SHAPE</a>, <a class="el" href="classcom_1_1mxgraph_1_1mxConstants.html#a046ac11f80e4f5f83a791d2a20830399">com.mxgraph.mxConstants.STYLE_STARTSIZE</a>, <a class="el" href="classcom_1_1mxgraph_1_1mxConstants.html#a6d2640f5d55200f4eaa21fa9599b3851">com.mxgraph.mxConstants.STYLE_WHITE_SPACE</a>, <a class="el" href="classcom_1_1mxgraph_1_1mxRectangle.html#a25e837182fe7e32ff07c5da012ee3cf8">com.mxgraph.mxRectangle.Width</a>, <a class="el" href="classcom_1_1mxgraph_1_1mxPoint.html#a33540da347ee0a5b4c06c787ab6d0b85">com.mxgraph.mxPoint.X</a>, and <a class="el" href="classcom_1_1mxgraph_1_1mxPoint.html#ab11a2fa8c8ef7d3d3727feb60ce75a50">com.mxgraph.mxPoint.Y</a>.</p>
<p class="reference">Referenced by <a class="el" href="classcom_1_1mxgraph_1_1mxGraphViewReader.html#a00df67012ee01cdb6e02dbcc1ef1c546">com.mxgraph.mxGraphViewReader.ParseState()</a>, and <a class="el" href="classcom_1_1mxgraph_1_1mxGraphView.html#acdeb7aeb0eee2c89b84a65418c068e96">com.mxgraph.mxGraphView.UpdateLabelBounds()</a>.</p>
</div>
</div>
<a id="a5e5e748665278e4c13eae738b0aa9c0e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5e5e748665278e4c13eae738b0aa9c0e">&#9670;&nbsp;</a></span>GetLabelSize()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">static <a class="el" href="classcom_1_1mxgraph_1_1mxRectangle.html">mxRectangle</a> com.mxgraph.mxUtils.GetLabelSize </td>
<td>(</td>
<td class="paramtype">string&#160;</td>
<td class="paramname"><em>label</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">Dictionary&lt; string, Object &gt;&#160;</td>
<td class="paramname"><em>style</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int&#160;</td>
<td class="paramname"><em>width</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns the size of the given label. </p>
<p class="reference">Referenced by <a class="el" href="classcom_1_1mxgraph_1_1mxUtils.html#a277844b1fa9826b5f887e98e1f8bf422">com.mxgraph.mxUtils.GetLabelPaintBounds()</a>.</p>
</div>
</div>
<a id="ac2851e9f630cc88da412879809887f48"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac2851e9f630cc88da412879809887f48">&#9670;&nbsp;</a></span>GetMd5Hash()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">static string com.mxgraph.mxUtils.GetMd5Hash </td>
<td>(</td>
<td class="paramtype">string&#160;</td>
<td class="paramname"><em>text</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns the Md5 hash for the given text. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">text</td><td>String whose Md5 hash should be returned.</td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Returns the Md5 hash for the given text.</dd></dl>
</div>
</div>
<a id="a2cd2313ca4a9141baf98352e055cfa3e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2cd2313ca4a9141baf98352e055cfa3e">&#9670;&nbsp;</a></span>GetPrettyXml()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">static string com.mxgraph.mxUtils.GetPrettyXml </td>
<td>(</td>
<td class="paramtype">XmlNode&#160;</td>
<td class="paramname"><em>node</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns a pretty-printed XML string for the given node. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">node</td><td>Node to return the XML for.</td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Returns a formatted XML string.</dd></dl>
</div>
</div>
<a id="ab6276e7376b566d314952d662dcb3a9a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab6276e7376b566d314952d662dcb3a9a">&#9670;&nbsp;</a></span>GetRotatedPoint() <span class="overload">[1/2]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">static <a class="el" href="classcom_1_1mxgraph_1_1mxPoint.html">mxPoint</a> com.mxgraph.mxUtils.GetRotatedPoint </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classcom_1_1mxgraph_1_1mxPoint.html">mxPoint</a>&#160;</td>
<td class="paramname"><em>pt</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">double&#160;</td>
<td class="paramname"><em>cos</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">double&#160;</td>
<td class="paramname"><em>sin</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Rotates the given point by the given cos and sin. </p>
<p class="reference">Referenced by <a class="el" href="classcom_1_1mxgraph_1_1mxStencil.html#a4f25038a9d486fb405a0cb9690f4f397">com.mxgraph.mxStencil.DrawShadow()</a>.</p>
</div>
</div>
<a id="a245090df37f29a475ff248f35ffb0d8f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a245090df37f29a475ff248f35ffb0d8f">&#9670;&nbsp;</a></span>GetRotatedPoint() <span class="overload">[2/2]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">static <a class="el" href="classcom_1_1mxgraph_1_1mxPoint.html">mxPoint</a> com.mxgraph.mxUtils.GetRotatedPoint </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classcom_1_1mxgraph_1_1mxPoint.html">mxPoint</a>&#160;</td>
<td class="paramname"><em>pt</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">double&#160;</td>
<td class="paramname"><em>cos</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">double&#160;</td>
<td class="paramname"><em>sin</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="classcom_1_1mxgraph_1_1mxPoint.html">mxPoint</a>&#160;</td>
<td class="paramname"><em>c</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Rotates the given point by the given cos and sin. </p>
<p class="reference">References <a class="el" href="classcom_1_1mxgraph_1_1mxPoint.html#a33540da347ee0a5b4c06c787ab6d0b85">com.mxgraph.mxPoint.X</a>, and <a class="el" href="classcom_1_1mxgraph_1_1mxPoint.html#ab11a2fa8c8ef7d3d3727feb60ce75a50">com.mxgraph.mxPoint.Y</a>.</p>
</div>
</div>
<a id="a960eda3dcd865882b043415e064c5029"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a960eda3dcd865882b043415e064c5029">&#9670;&nbsp;</a></span>GetScaledLabelBounds()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">static <a class="el" href="classcom_1_1mxgraph_1_1mxRectangle.html">mxRectangle</a> com.mxgraph.mxUtils.GetScaledLabelBounds </td>
<td>(</td>
<td class="paramtype">double&#160;</td>
<td class="paramname"><em>x</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">double&#160;</td>
<td class="paramname"><em>y</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="classcom_1_1mxgraph_1_1mxRectangle.html">mxRectangle</a>&#160;</td>
<td class="paramname"><em>size</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">double&#160;</td>
<td class="paramname"><em>outerWidth</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">double&#160;</td>
<td class="paramname"><em>outerHeight</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">Dictionary&lt; string, Object &gt;&#160;</td>
<td class="paramname"><em>style</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">double&#160;</td>
<td class="paramname"><em>scale</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns the bounds for a label for the given location and size, taking into account the alignment and spacing in the specified style, as well as the width and height of the rectangle that contains the label. (For edge labels this width and height is 0.) The scale is used to scale the given size and the spacings in the specified style. </p>
<p class="reference">References <a class="el" href="classcom_1_1mxgraph_1_1mxConstants.html#ac3a65a37f08c797cac437376b34e939a">com.mxgraph.mxConstants.ALIGN_BOTTOM</a>, <a class="el" href="classcom_1_1mxgraph_1_1mxConstants.html#ad9fba8b1122c34dd3ed23fbf5cd78628">com.mxgraph.mxConstants.ALIGN_CENTER</a>, <a class="el" href="classcom_1_1mxgraph_1_1mxConstants.html#af1ce34078082fc8c81a38cc3403dceb2">com.mxgraph.mxConstants.ALIGN_LEFT</a>, <a class="el" href="classcom_1_1mxgraph_1_1mxConstants.html#a08bece4529c1f1a4ea9fa01c88879847">com.mxgraph.mxConstants.ALIGN_MIDDLE</a>, <a class="el" href="classcom_1_1mxgraph_1_1mxConstants.html#aff94bbc3de9d279f18c1a6f562912bc3">com.mxgraph.mxConstants.ALIGN_RIGHT</a>, <a class="el" href="classcom_1_1mxgraph_1_1mxRectangle.html#af808af89d775d2082b8f4fa449b826d9">com.mxgraph.mxRectangle.Height</a>, <a class="el" href="classcom_1_1mxgraph_1_1mxConstants.html#aa9f0ca33d34a90784c72585f901ebed1">com.mxgraph.mxConstants.LABEL_INSET</a>, <a class="el" href="classcom_1_1mxgraph_1_1mxConstants.html#a4712876b346d112eeac93ebdfea3458a">com.mxgraph.mxConstants.STYLE_ALIGN</a>, <a class="el" href="classcom_1_1mxgraph_1_1mxConstants.html#a002377ed3ad55948c810468fac404b11">com.mxgraph.mxConstants.STYLE_HORIZONTAL</a>, <a class="el" href="classcom_1_1mxgraph_1_1mxConstants.html#a3db92308715dd7df621a27e0c1a0de36">com.mxgraph.mxConstants.STYLE_SPACING</a>, <a class="el" href="classcom_1_1mxgraph_1_1mxConstants.html#ab03986995427e5625c55068d82e98bcd">com.mxgraph.mxConstants.STYLE_SPACING_BOTTOM</a>, <a class="el" href="classcom_1_1mxgraph_1_1mxConstants.html#a59c6c1459a7f88d6aaf8b8318ddae1bf">com.mxgraph.mxConstants.STYLE_SPACING_LEFT</a>, <a class="el" href="classcom_1_1mxgraph_1_1mxConstants.html#a2cfb4b71bef2333cf728ed990b56af4f">com.mxgraph.mxConstants.STYLE_SPACING_RIGHT</a>, <a class="el" href="classcom_1_1mxgraph_1_1mxConstants.html#a5ee4baa3b982685e33b9a02cd35448f1">com.mxgraph.mxConstants.STYLE_SPACING_TOP</a>, <a class="el" href="classcom_1_1mxgraph_1_1mxConstants.html#ab2a3d022712450f6581413bf7bcd4a29">com.mxgraph.mxConstants.STYLE_VERTICAL_ALIGN</a>, and <a class="el" href="classcom_1_1mxgraph_1_1mxRectangle.html#a25e837182fe7e32ff07c5da012ee3cf8">com.mxgraph.mxRectangle.Width</a>.</p>
<p class="reference">Referenced by <a class="el" href="classcom_1_1mxgraph_1_1mxUtils.html#a277844b1fa9826b5f887e98e1f8bf422">com.mxgraph.mxUtils.GetLabelPaintBounds()</a>.</p>
</div>
</div>
<a id="aa98bc7391ba8428fe17a71209710402f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa98bc7391ba8428fe17a71209710402f">&#9670;&nbsp;</a></span>GetSizeForString() <span class="overload">[1/2]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">static <a class="el" href="classcom_1_1mxgraph_1_1mxRectangle.html">mxRectangle</a> com.mxgraph.mxUtils.GetSizeForString </td>
<td>(</td>
<td class="paramtype">String&#160;</td>
<td class="paramname"><em>text</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">Font&#160;</td>
<td class="paramname"><em>font</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns the size of the given text. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">text</td><td>String whose size should be returned.</td></tr>
<tr><td class="paramname">font</td><td>Specifies the font that should be used.</td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Returns the size of the given text.</dd></dl>
</div>
</div>
<a id="a66577804bf75e091aad8cd1cff0b4043"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a66577804bf75e091aad8cd1cff0b4043">&#9670;&nbsp;</a></span>GetSizeForString() <span class="overload">[2/2]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">static <a class="el" href="classcom_1_1mxgraph_1_1mxRectangle.html">mxRectangle</a> com.mxgraph.mxUtils.GetSizeForString </td>
<td>(</td>
<td class="paramtype">String&#160;</td>
<td class="paramname"><em>text</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">Font&#160;</td>
<td class="paramname"><em>font</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int&#160;</td>
<td class="paramname"><em>width</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns an <a class="el" href="classcom_1_1mxgraph_1_1mxRectangle.html" title="Implements a 2-dimensional rectangle with double precision coordinates. ">mxRectangle</a> with the size (width and height in pixels) of the given text. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">text</td><td>String whose size should be returned.</td></tr>
<tr><td class="paramname">font</td><td>Specifies the font that should be used.</td></tr>
<tr><td class="paramname">width</td><td>Specifies the width of the text block for word wrapping.</td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Returns the size of the given text.</dd></dl>
</div>
</div>
<a id="aab5a20a39aea1062f4ea855f7649bcdb"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aab5a20a39aea1062f4ea855f7649bcdb">&#9670;&nbsp;</a></span>GetString() <span class="overload">[1/2]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">static string com.mxgraph.mxUtils.GetString </td>
<td>(</td>
<td class="paramtype">Dictionary&lt; string, Object &gt;&#160;</td>
<td class="paramname"><em>dict</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">string&#160;</td>
<td class="paramname"><em>key</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns the value for key in dictionary as a string or null if no value is defined for the key. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">dict</td><td>Dictionary that contains the key, value pairs.</td></tr>
<tr><td class="paramname">key</td><td>Key whose value should be returned.</td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Returns the string value for key in dict.</dd></dl>
<p class="reference">Referenced by <a class="el" href="classcom_1_1mxgraph_1_1mxGdiCanvas.html#a76bd38ecebca3a73798ac61c58a5015c">com.mxgraph.mxGdiCanvas.DrawCell()</a>, <a class="el" href="classcom_1_1mxgraph_1_1mxGdiCanvas.html#a3e760b411c7644732fc51bc3f4d2ab87">com.mxgraph.mxGdiCanvas.DrawLine()</a>, <a class="el" href="classcom_1_1mxgraph_1_1mxGdiCanvas.html#a916256e385f3996f715b5e0634733e93">com.mxgraph.mxGdiCanvas.DrawShape()</a>, <a class="el" href="classcom_1_1mxgraph_1_1mxStencil.html#a3f5d08565604c84c226eb0f2e9476ec4">com.mxgraph.mxStencil.DrawShape()</a>, <a class="el" href="classcom_1_1mxgraph_1_1mxGraph.html#ac3c01a2432566eeb3ab0b6168a832a7f">com.mxgraph.mxGraph.DrawState()</a>, <a class="el" href="classcom_1_1mxgraph_1_1mxBasicCanvas.html#ac456dc7e33e5013277435b671cbd5ca3">com.mxgraph.mxBasicCanvas.GetImageForStyle()</a>, <a class="el" href="classcom_1_1mxgraph_1_1mxUtils.html#a277844b1fa9826b5f887e98e1f8bf422">com.mxgraph.mxUtils.GetLabelPaintBounds()</a>, <a class="el" href="classcom_1_1mxgraph_1_1mxUtils.html#a72ab31c3916d9e4b89fd3f3c9bd86d09">com.mxgraph.mxUtils.GetStringFormat()</a>, <a class="el" href="classcom_1_1mxgraph_1_1mxGraphView.html#a74a28e534da29ad4e1f4a86c1cd7d1e7">com.mxgraph.mxGraphView.GetTerminalPort()</a>, <a class="el" href="classcom_1_1mxgraph_1_1mxGraph.html#ae5d4ef252e7dc9829507a76fa6e7582d">com.mxgraph.mxGraph.IsSwimlane()</a>, <a class="el" href="classcom_1_1mxgraph_1_1mxStencil.html#a4b18427a4798e1a211ab066ffe87d9b0">com.mxgraph.mxStencil.PaintShape()</a>, <a class="el" href="classcom_1_1mxgraph_1_1mxGraphViewReader.html#a00df67012ee01cdb6e02dbcc1ef1c546">com.mxgraph.mxGraphViewReader.ParseState()</a>, <a class="el" href="classcom_1_1mxgraph_1_1mxGraph.html#a20587091b06deb2c206b86eb24a5ff0b">com.mxgraph.mxGraph.PostProcessCellStyle()</a>, <a class="el" href="classcom_1_1mxgraph_1_1mxGraphView.html#a55327a8cf146e104eb1b33a27669e6d2">com.mxgraph.mxGraphView.UpdateBoundingBox()</a>, <a class="el" href="classcom_1_1mxgraph_1_1mxGraphView.html#acdeb7aeb0eee2c89b84a65418c068e96">com.mxgraph.mxGraphView.UpdateLabelBounds()</a>, and <a class="el" href="classcom_1_1mxgraph_1_1mxGraphView.html#a642fe8e956e90adc559db7165cd2b17c">com.mxgraph.mxGraphView.UpdateVertexLabelOffset()</a>.</p>
</div>
</div>
<a id="ac7d101ed508a27a77202df92c3b18fdb"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac7d101ed508a27a77202df92c3b18fdb">&#9670;&nbsp;</a></span>GetString() <span class="overload">[2/2]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">static string com.mxgraph.mxUtils.GetString </td>
<td>(</td>
<td class="paramtype">Dictionary&lt; string, Object &gt;&#160;</td>
<td class="paramname"><em>dict</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">string&#160;</td>
<td class="paramname"><em>key</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">string&#160;</td>
<td class="paramname"><em>defaultValue</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns the value for key in dictionary as a string or the given default value if no value is defined for the key. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">dict</td><td>Dictionary that contains the key, value pairs.</td></tr>
<tr><td class="paramname">key</td><td>Key whose value should be returned.</td></tr>
<tr><td class="paramname">defaultValue</td><td>Default value to return if the key is undefined.</td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Returns the string value for key in dict.</dd></dl>
</div>
</div>
<a id="a72ab31c3916d9e4b89fd3f3c9bd86d09"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a72ab31c3916d9e4b89fd3f3c9bd86d09">&#9670;&nbsp;</a></span>GetStringFormat()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">static StringFormat com.mxgraph.mxUtils.GetStringFormat </td>
<td>(</td>
<td class="paramtype">Dictionary&lt; string, Object &gt;&#160;</td>
<td class="paramname"><em>style</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Creates a new StringFormat object for the given style. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">style</td><td></td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd></dd></dl>
<p class="reference">References <a class="el" href="classcom_1_1mxgraph_1_1mxConstants.html#ac3a65a37f08c797cac437376b34e939a">com.mxgraph.mxConstants.ALIGN_BOTTOM</a>, <a class="el" href="classcom_1_1mxgraph_1_1mxConstants.html#ad9fba8b1122c34dd3ed23fbf5cd78628">com.mxgraph.mxConstants.ALIGN_CENTER</a>, <a class="el" href="classcom_1_1mxgraph_1_1mxConstants.html#af1ce34078082fc8c81a38cc3403dceb2">com.mxgraph.mxConstants.ALIGN_LEFT</a>, <a class="el" href="classcom_1_1mxgraph_1_1mxConstants.html#a08bece4529c1f1a4ea9fa01c88879847">com.mxgraph.mxConstants.ALIGN_MIDDLE</a>, <a class="el" href="classcom_1_1mxgraph_1_1mxConstants.html#aff94bbc3de9d279f18c1a6f562912bc3">com.mxgraph.mxConstants.ALIGN_RIGHT</a>, <a class="el" href="classcom_1_1mxgraph_1_1mxConstants.html#a21bd50fd57c44a7192acf33c1488302c">com.mxgraph.mxConstants.ALIGN_TOP</a>, <a class="el" href="classcom_1_1mxgraph_1_1mxUtils.html#aab5a20a39aea1062f4ea855f7649bcdb">com.mxgraph.mxUtils.GetString()</a>, <a class="el" href="classcom_1_1mxgraph_1_1mxConstants.html#a4712876b346d112eeac93ebdfea3458a">com.mxgraph.mxConstants.STYLE_ALIGN</a>, <a class="el" href="classcom_1_1mxgraph_1_1mxConstants.html#ab2a3d022712450f6581413bf7bcd4a29">com.mxgraph.mxConstants.STYLE_VERTICAL_ALIGN</a>, and <a class="el" href="classcom_1_1mxgraph_1_1mxConstants.html#a6d2640f5d55200f4eaa21fa9599b3851">com.mxgraph.mxConstants.STYLE_WHITE_SPACE</a>.</p>
<p class="reference">Referenced by <a class="el" href="classcom_1_1mxgraph_1_1mxGdiCanvas.html#aa3cbd5664957d03feb044be31d7f4140">com.mxgraph.mxGdiCanvas.DrawText()</a>.</p>
</div>
</div>
<a id="aa082d5f52d1a571a749c31e2e760fc9d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa082d5f52d1a571a749c31e2e760fc9d">&#9670;&nbsp;</a></span>GetStylename()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">static String com.mxgraph.mxUtils.GetStylename </td>
<td>(</td>
<td class="paramtype">String&#160;</td>
<td class="paramname"><em>style</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns the stylename in a style of the form stylename[;key=value] or an empty string if the given style does not contain a stylename. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">style</td><td>String of the form stylename[;key=value].</td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Returns the stylename from the given formatted string.</dd></dl>
</div>
</div>
<a id="a23c378cdfd200eaba68db6749fa6035e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a23c378cdfd200eaba68db6749fa6035e">&#9670;&nbsp;</a></span>GetStylenames()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">static String [] com.mxgraph.mxUtils.GetStylenames </td>
<td>(</td>
<td class="paramtype">String&#160;</td>
<td class="paramname"><em>style</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns the stylenames in a style of the form stylename[;key=value] or an empty array if the given style does not contain any stylenames. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">style</td><td>String of the form stylename[;stylename][;key=value].</td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Returns the stylename from the given formatted string.</dd></dl>
</div>
</div>
<a id="a23d23b0548bc6e2f089d007c1b87319a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a23d23b0548bc6e2f089d007c1b87319a">&#9670;&nbsp;</a></span>GetXml() <span class="overload">[1/2]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">static string com.mxgraph.mxUtils.GetXml </td>
<td>(</td>
<td class="paramtype">XmlNode&#160;</td>
<td class="paramname"><em>node</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns a string that represents the given node. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">node</td><td>Node to return the XML for.</td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Returns an XML string.</dd></dl>
</div>
</div>
<a id="a65b37fce7823b8c21e49e9234c9c2689"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a65b37fce7823b8c21e49e9234c9c2689">&#9670;&nbsp;</a></span>GetXml() <span class="overload">[2/2]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">static string com.mxgraph.mxUtils.GetXml </td>
<td>(</td>
<td class="paramtype">XmlNode&#160;</td>
<td class="paramname"><em>node</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">Formatting&#160;</td>
<td class="paramname"><em>formatting</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns a pretty-printed XML string for the given node. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">node</td><td>Node to return the XML for.</td></tr>
<tr><td class="paramname">formatting</td><td>Formatting of the string to be returned.</td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Returns a formatted XML string.</dd></dl>
</div>
</div>
<a id="a32e5d24d1f3a04a9deea12d561593437"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a32e5d24d1f3a04a9deea12d561593437">&#9670;&nbsp;</a></span>HtmlEntities()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">static String com.mxgraph.mxUtils.HtmlEntities </td>
<td>(</td>
<td class="paramtype">String&#160;</td>
<td class="paramname"><em>text</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Converts the ampersand, quote, prime, less-than and greater-than characters to their corresponding HTML entities in the given string. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">text</td><td></td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd></dd></dl>
</div>
</div>
<a id="a91cebce14f6448b21b7e21f884575495"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a91cebce14f6448b21b7e21f884575495">&#9670;&nbsp;</a></span>IndexOfStylename()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">static int com.mxgraph.mxUtils.IndexOfStylename </td>
<td>(</td>
<td class="paramtype">String&#160;</td>
<td class="paramname"><em>style</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">String&#160;</td>
<td class="paramname"><em>stylename</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns the index of the given stylename in the given style. This returns -1 if the given stylename does not occur (as a stylename) in the given style, otherwise it returns the index of the first character. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">style</td><td></td></tr>
<tr><td class="paramname">stylename</td><td></td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd></dd></dl>
</div>
</div>
<a id="aa8db3f55e1d16b996c3bb5a0339741b5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa8db3f55e1d16b996c3bb5a0339741b5">&#9670;&nbsp;</a></span>Intersection()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">static <a class="el" href="classcom_1_1mxgraph_1_1mxPoint.html">mxPoint</a> com.mxgraph.mxUtils.Intersection </td>
<td>(</td>
<td class="paramtype">double&#160;</td>
<td class="paramname"><em>x0</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">double&#160;</td>
<td class="paramname"><em>y0</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">double&#160;</td>
<td class="paramname"><em>x1</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">double&#160;</td>
<td class="paramname"><em>y1</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">double&#160;</td>
<td class="paramname"><em>x2</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">double&#160;</td>
<td class="paramname"><em>y2</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">double&#160;</td>
<td class="paramname"><em>x3</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">double&#160;</td>
<td class="paramname"><em>y3</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns the intersection of two lines as an <a class="el" href="classcom_1_1mxgraph_1_1mxPoint.html" title="Implements a 2-dimensional point with double precision coordinates. ">mxPoint</a>. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">x0</td><td>X-coordinate of the first line's startpoint.</td></tr>
<tr><td class="paramname">y0</td><td>Y-coordinate of the first line's startpoint.</td></tr>
<tr><td class="paramname">x1</td><td>X-coordinate of the first line's endpoint.</td></tr>
<tr><td class="paramname">y1</td><td>Y-coordinate of the first line's endpoint.</td></tr>
<tr><td class="paramname">x2</td><td>X-coordinate of the second line's startpoint.</td></tr>
<tr><td class="paramname">y2</td><td>Y-coordinate of the second line's startpoint.</td></tr>
<tr><td class="paramname">x3</td><td>X-coordinate of the second line's endpoint.</td></tr>
<tr><td class="paramname">y3</td><td>Y-coordinate of the second line's endpoint.</td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd></dd></dl>
</div>
</div>
<a id="a89cced4585b7060a17338abeafce9708"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a89cced4585b7060a17338abeafce9708">&#9670;&nbsp;</a></span>IsNode() <span class="overload">[1/2]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">static bool com.mxgraph.mxUtils.IsNode </td>
<td>(</td>
<td class="paramtype">Object&#160;</td>
<td class="paramname"><em>value</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">String&#160;</td>
<td class="paramname"><em>nodeName</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns true if the given value is an XML node with the specified nodename. specified. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">value</td><td>Object that represents the value to be tested.</td></tr>
<tr><td class="paramname">nodeName</td><td>String that specifies the node name.</td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Returns true if the node name of the user object is equal to the given type.</dd></dl>
</div>
</div>
<a id="adcd861c713d54fac945444efeb2e372f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#adcd861c713d54fac945444efeb2e372f">&#9670;&nbsp;</a></span>IsNode() <span class="overload">[2/2]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">static bool com.mxgraph.mxUtils.IsNode </td>
<td>(</td>
<td class="paramtype">Object&#160;</td>
<td class="paramname"><em>value</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">String&#160;</td>
<td class="paramname"><em>nodeName</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">String&#160;</td>
<td class="paramname"><em>attributeName</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">String&#160;</td>
<td class="paramname"><em>attributeValue</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns true if the user object is an XML node with the specified type and and the optional attribute has the specified value or is not specified. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">value</td><td>Object that represents the value to be tested.</td></tr>
<tr><td class="paramname">nodeName</td><td>String that specifies the node name.</td></tr>
<tr><td class="paramname">attributeName</td><td>Optional attribute name to check.</td></tr>
<tr><td class="paramname">attributeValue</td><td>Optional attribute value to check.</td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Returns true if the cell matches the given conditions.</dd></dl>
</div>
</div>
<a id="ab1faf80201d6e2755ed97f947f3fb0e8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab1faf80201d6e2755ed97f947f3fb0e8">&#9670;&nbsp;</a></span>IsTrue() <span class="overload">[1/2]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">static bool com.mxgraph.mxUtils.IsTrue </td>
<td>(</td>
<td class="paramtype">Dictionary&lt; string, Object &gt;&#160;</td>
<td class="paramname"><em>dict</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">string&#160;</td>
<td class="paramname"><em>key</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns true if the dictionary contains true for the given key or false if no value is defined for the key. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">dict</td><td>Dictionary that contains the key, value pairs.</td></tr>
<tr><td class="paramname">key</td><td>Key whose value should be returned.</td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Returns the boolean value for key in dict.</dd></dl>
<p class="reference">Referenced by <a class="el" href="classcom_1_1mxgraph_1_1mxGdiCanvas.html#a76bd38ecebca3a73798ac61c58a5015c">com.mxgraph.mxGdiCanvas.DrawCell()</a>, <a class="el" href="classcom_1_1mxgraph_1_1mxGdiCanvas.html#a3e760b411c7644732fc51bc3f4d2ab87">com.mxgraph.mxGdiCanvas.DrawLine()</a>, <a class="el" href="classcom_1_1mxgraph_1_1mxGdiCanvas.html#a916256e385f3996f715b5e0634733e93">com.mxgraph.mxGdiCanvas.DrawShape()</a>, <a class="el" href="classcom_1_1mxgraph_1_1mxGdiCanvas.html#aa3cbd5664957d03feb044be31d7f4140">com.mxgraph.mxGdiCanvas.DrawText()</a>, <a class="el" href="classcom_1_1mxgraph_1_1mxGraph.html#ae2d5b2c142e9724cd0b02036bcee9657">com.mxgraph.mxGraph.GetConnectionConstraint()</a>, <a class="el" href="classcom_1_1mxgraph_1_1mxGraphView.html#ab4cead25b7ed89a49857fb0f618f822c">com.mxgraph.mxGraphView.GetEdgeStyle()</a>, <a class="el" href="classcom_1_1mxgraph_1_1mxGraph.html#a4b8fef816228f294a66d9e3190b3090a">com.mxgraph.mxGraph.GetLabel()</a>, <a class="el" href="classcom_1_1mxgraph_1_1mxUtils.html#a277844b1fa9826b5f887e98e1f8bf422">com.mxgraph.mxUtils.GetLabelPaintBounds()</a>, <a class="el" href="classcom_1_1mxgraph_1_1mxGraph.html#a4b523527c844770a46b72bfb1d1e0664">com.mxgraph.mxGraph.HitsSwimlaneContent()</a>, <a class="el" href="classcom_1_1mxgraph_1_1mxGraph.html#a60a9c81eb28b81d6fa0278b17c9a7cff">com.mxgraph.mxGraph.IsOrthogonal()</a>, <a class="el" href="classcom_1_1mxgraph_1_1mxStencil.html#a4b18427a4798e1a211ab066ffe87d9b0">com.mxgraph.mxStencil.PaintShape()</a>, <a class="el" href="classcom_1_1mxgraph_1_1mxGraphViewReader.html#a00df67012ee01cdb6e02dbcc1ef1c546">com.mxgraph.mxGraphViewReader.ParseState()</a>, and <a class="el" href="classcom_1_1mxgraph_1_1mxGraphView.html#a55327a8cf146e104eb1b33a27669e6d2">com.mxgraph.mxGraphView.UpdateBoundingBox()</a>.</p>
</div>
</div>
<a id="ae971b5ad5387de87e7406755bfa9e314"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae971b5ad5387de87e7406755bfa9e314">&#9670;&nbsp;</a></span>IsTrue() <span class="overload">[2/2]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">static bool com.mxgraph.mxUtils.IsTrue </td>
<td>(</td>
<td class="paramtype">Dictionary&lt; string, Object &gt;&#160;</td>
<td class="paramname"><em>dict</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">string&#160;</td>
<td class="paramname"><em>key</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">bool&#160;</td>
<td class="paramname"><em>defaultValue</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns true if the dictionary contains true for the given key or the given default value if no value is defined for the key. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">dict</td><td>Dictionary that contains the key, value pairs.</td></tr>
<tr><td class="paramname">key</td><td>Key whose value should be returned.</td></tr>
<tr><td class="paramname">defaultValue</td><td>Default value to return if the key is undefined.</td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Returns the boolean value for key in dict.</dd></dl>
</div>
</div>
<a id="a1f677c92a3d20dcfc5001ab4e18a9b2c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1f677c92a3d20dcfc5001ab4e18a9b2c">&#9670;&nbsp;</a></span>LoadDocument()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">static XmlDocument com.mxgraph.mxUtils.LoadDocument </td>
<td>(</td>
<td class="paramtype">string&#160;</td>
<td class="paramname"><em>uri</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns a new DOM document for the given URI. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">uri</td><td>URI to parse into the document.</td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Returns a new DOM document for the given URI.</dd></dl>
<p class="reference">Referenced by <a class="el" href="classcom_1_1mxgraph_1_1mxObjectCodec.html#ac5c143df7b7b7c9d8b7a77681b2b9815">com.mxgraph.mxObjectCodec.ProcessInclude()</a>.</p>
</div>
</div>
<a id="a2a71827c05120b140caa51409a363282"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2a71827c05120b140caa51409a363282">&#9670;&nbsp;</a></span>LoadImage()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">static Image com.mxgraph.mxUtils.LoadImage </td>
<td>(</td>
<td class="paramtype">String&#160;</td>
<td class="paramname"><em>url</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Loads an image from the local filesystem, a data URI or any other URL. </p>
<p class="reference">Referenced by <a class="el" href="classcom_1_1mxgraph_1_1mxGdiCanvas.html#a942524aac27cba6b7269a6656e531683">com.mxgraph.mxGdiCanvas.LoadImage()</a>, and <a class="el" href="classcom_1_1mxgraph_1_1mxGdiCanvas2D.html#a0255e74ab423a23211e537da612870c3">com.mxgraph.mxGdiCanvas2D.LoadImage()</a>.</p>
</div>
</div>
<a id="a83a1e09bac32c566db46f4e3855fb79c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a83a1e09bac32c566db46f4e3855fb79c">&#9670;&nbsp;</a></span>ParseXml()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">static XmlDocument com.mxgraph.mxUtils.ParseXml </td>
<td>(</td>
<td class="paramtype">string&#160;</td>
<td class="paramname"><em>xml</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns a document that represents the given XML string. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">xml</td><td>String that contains the XML markup.</td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Returns an XML document.</dd></dl>
</div>
</div>
<a id="ad113f6d6a90c4d4b50976fd621abfc04"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad113f6d6a90c4d4b50976fd621abfc04">&#9670;&nbsp;</a></span>ReadFile()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">static string com.mxgraph.mxUtils.ReadFile </td>
<td>(</td>
<td class="paramtype">string&#160;</td>
<td class="paramname"><em>filename</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Reads the given filename into a string. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">filename</td><td>Name of the file to be read.</td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Returns a string representing the file contents.</dd></dl>
</div>
</div>
<a id="ac9d4da3391dd4c558df836fcc54c5497"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac9d4da3391dd4c558df836fcc54c5497">&#9670;&nbsp;</a></span>RemoveAllStylenames()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">static String com.mxgraph.mxUtils.RemoveAllStylenames </td>
<td>(</td>
<td class="paramtype">String&#160;</td>
<td class="paramname"><em>style</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Removes all stylenames from the given style and returns the updated style. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">style</td><td></td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd></dd></dl>
</div>
</div>
<a id="acc98dfe47e191e2c23a0b073cac1394e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#acc98dfe47e191e2c23a0b073cac1394e">&#9670;&nbsp;</a></span>RemoveStylename()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">String com.mxgraph.mxUtils.RemoveStylename </td>
<td>(</td>
<td class="paramtype">String&#160;</td>
<td class="paramname"><em>style</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">String&#160;</td>
<td class="paramname"><em>stylename</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Removes all occurrences of the specified stylename in the given style and returns the updated style. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">style</td><td></td></tr>
<tr><td class="paramname">stylename</td><td></td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd></dd></dl>
</div>
</div>
<a id="a0a4ff54a4c4d30bcfef674b6912211d1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0a4ff54a4c4d30bcfef674b6912211d1">&#9670;&nbsp;</a></span>SetCellStyleFlags()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">static void com.mxgraph.mxUtils.SetCellStyleFlags </td>
<td>(</td>
<td class="paramtype"><a class="el" href="interfacecom_1_1mxgraph_1_1mxIGraphModel.html">mxIGraphModel</a>&#160;</td>
<td class="paramname"><em>model</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">Object []&#160;</td>
<td class="paramname"><em>cells</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">String&#160;</td>
<td class="paramname"><em>key</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int&#160;</td>
<td class="paramname"><em>flag</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">Boolean&#160;</td>
<td class="paramname"><em>value</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Sets or toggles the flag bit for the given key in the cell's styles. If value is null then the flag is toggled. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">model</td><td>Model that contains the cells.</td></tr>
<tr><td class="paramname">cells</td><td>Array of cells to change the style for.</td></tr>
<tr><td class="paramname">key</td><td>Key of the style to be changed.</td></tr>
<tr><td class="paramname">flag</td><td>Integer for the bit to be changed.</td></tr>
<tr><td class="paramname">value</td><td>Optional boolean value for the flag.</td></tr>
</table>
</dd>
</dl>
<p class="reference">References <a class="el" href="interfacecom_1_1mxgraph_1_1mxIGraphModel.html#a1ba0c455c49ca2982fee04a7645c22db">com.mxgraph.mxIGraphModel.BeginUpdate()</a>, <a class="el" href="interfacecom_1_1mxgraph_1_1mxIGraphModel.html#a4d3170b6bcffa23d72bb6b6594be3fdb">com.mxgraph.mxIGraphModel.EndUpdate()</a>, <a class="el" href="interfacecom_1_1mxgraph_1_1mxIGraphModel.html#a3b500dd24fa5dd396bdeb1e8e09b0626">com.mxgraph.mxIGraphModel.GetStyle()</a>, and <a class="el" href="interfacecom_1_1mxgraph_1_1mxIGraphModel.html#a005f5979ec0a5f94cbdfeaa9fd52087b">com.mxgraph.mxIGraphModel.SetStyle()</a>.</p>
</div>
</div>
<a id="a697f7eb719ecb713dd4557e46303b890"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a697f7eb719ecb713dd4557e46303b890">&#9670;&nbsp;</a></span>SetCellStyles()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">static void com.mxgraph.mxUtils.SetCellStyles </td>
<td>(</td>
<td class="paramtype"><a class="el" href="interfacecom_1_1mxgraph_1_1mxIGraphModel.html">mxIGraphModel</a>&#160;</td>
<td class="paramname"><em>model</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">Object []&#160;</td>
<td class="paramname"><em>cells</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">String&#160;</td>
<td class="paramname"><em>key</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">String&#160;</td>
<td class="paramname"><em>value</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Assigns the value for the given key in the styles of the given cells, or removes the key from the styles if the value is null. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">model</td><td>Model to execute the transaction in.</td></tr>
<tr><td class="paramname">cells</td><td>Array of cells to be updated.</td></tr>
<tr><td class="paramname">key</td><td>Key of the style to be changed.</td></tr>
<tr><td class="paramname">value</td><td>New value for the given key.</td></tr>
</table>
</dd>
</dl>
<p class="reference">References <a class="el" href="interfacecom_1_1mxgraph_1_1mxIGraphModel.html#a1ba0c455c49ca2982fee04a7645c22db">com.mxgraph.mxIGraphModel.BeginUpdate()</a>, <a class="el" href="interfacecom_1_1mxgraph_1_1mxIGraphModel.html#a4d3170b6bcffa23d72bb6b6594be3fdb">com.mxgraph.mxIGraphModel.EndUpdate()</a>, <a class="el" href="interfacecom_1_1mxgraph_1_1mxIGraphModel.html#a3b500dd24fa5dd396bdeb1e8e09b0626">com.mxgraph.mxIGraphModel.GetStyle()</a>, and <a class="el" href="interfacecom_1_1mxgraph_1_1mxIGraphModel.html#a005f5979ec0a5f94cbdfeaa9fd52087b">com.mxgraph.mxIGraphModel.SetStyle()</a>.</p>
<p class="reference">Referenced by <a class="el" href="classcom_1_1mxgraph_1_1mxGraph.html#a6a2f27cdcadfceec8755762325c1c5f9">com.mxgraph.mxGraph.SetCellStyles()</a>.</p>
</div>
</div>
<a id="ac7495bafa9af65c13e18bfdde30fb80b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac7495bafa9af65c13e18bfdde30fb80b">&#9670;&nbsp;</a></span>SetStyle()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">static String com.mxgraph.mxUtils.SetStyle </td>
<td>(</td>
<td class="paramtype">String&#160;</td>
<td class="paramname"><em>style</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">String&#160;</td>
<td class="paramname"><em>key</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">String&#160;</td>
<td class="paramname"><em>value</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Adds or removes the given key, value pair to the style and returns the new style. If value is null or zero length then the key is removed from the style. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">style</td><td>String of the form stylename[;key=value].</td></tr>
<tr><td class="paramname">key</td><td>Key of the style to be changed.</td></tr>
<tr><td class="paramname">value</td><td>New value for the given key.</td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Returns the new style.</dd></dl>
</div>
</div>
<a id="a1f97b9f5cabc63ed0d3cf81bc09248da"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1f97b9f5cabc63ed0d3cf81bc09248da">&#9670;&nbsp;</a></span>SetStyleFlag()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">static String com.mxgraph.mxUtils.SetStyleFlag </td>
<td>(</td>
<td class="paramtype">String&#160;</td>
<td class="paramname"><em>style</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">String&#160;</td>
<td class="paramname"><em>key</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int&#160;</td>
<td class="paramname"><em>flag</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">bool?&#160;</td>
<td class="paramname"><em>value</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Sets or removes the given key from the specified style and returns the new style. If value is null then the flag is toggled. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">style</td><td>String of the form stylename[;key=value].</td></tr>
<tr><td class="paramname">key</td><td>Key of the style to be changed.</td></tr>
<tr><td class="paramname">flag</td><td>Integer for the bit to be changed.</td></tr>
<tr><td class="paramname">value</td><td>Optional boolean value for the given flag.</td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Returns the new style.</dd></dl>
</div>
</div>
<a id="a9d86101980ecb4666c39b6bc7233ca29"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9d86101980ecb4666c39b6bc7233ca29">&#9670;&nbsp;</a></span>ToRadians()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">static double com.mxgraph.mxUtils.ToRadians </td>
<td>(</td>
<td class="paramtype">double&#160;</td>
<td class="paramname"><em>deg</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Converts the given degree to radians. </p>
</div>
</div>
<a id="afc6d9bb4033738843d8be1544403d251"></a>
<h2 class="memtitle"><span class="permalink"><a href="#afc6d9bb4033738843d8be1544403d251">&#9670;&nbsp;</a></span>TranslatePoints()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">static List&lt;<a class="el" href="classcom_1_1mxgraph_1_1mxPoint.html">mxPoint</a>&gt; com.mxgraph.mxUtils.TranslatePoints </td>
<td>(</td>
<td class="paramtype">List&lt; <a class="el" href="classcom_1_1mxgraph_1_1mxPoint.html">mxPoint</a> &gt;&#160;</td>
<td class="paramname"><em>pts</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">double&#160;</td>
<td class="paramname"><em>dx</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">double&#160;</td>
<td class="paramname"><em>dy</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Creates a new list of new points obtained by translating the points in the given list by the given vector. Elements that are not mxPoints are added to the result as-is. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">pts</td><td></td></tr>
<tr><td class="paramname">dx</td><td></td></tr>
<tr><td class="paramname">dy</td><td></td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd></dd></dl>
<p class="reference">References <a class="el" href="classcom_1_1mxgraph_1_1mxPoint.html#a936c837c4eb0dfeeb3de5c7ab3df4ccd">com.mxgraph.mxPoint.Clone()</a>, <a class="el" href="classcom_1_1mxgraph_1_1mxPoint.html#a33540da347ee0a5b4c06c787ab6d0b85">com.mxgraph.mxPoint.X</a>, and <a class="el" href="classcom_1_1mxgraph_1_1mxPoint.html#ab11a2fa8c8ef7d3d3727feb60ce75a50">com.mxgraph.mxPoint.Y</a>.</p>
</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>src/utils/mxUtils.cs</li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.13
</small></address>
</body>
</html>