maxGraph/dotnet/docs/html/classcom_1_1mxgraph_1_1mxGr...

531 lines
28 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"/>
<title>mxGraph: com.mxgraph.mxGraphViewImageReader Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr style="height: 56px;">
<td style="padding-left: 0.5em;">
<div id="projectname">mxGraph
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- Generated by Doxygen 1.7.6.1 -->
<div id="navrow1" class="tabs">
<ul class="tablist">
<li><a href="index.html"><span>Main&#160;Page</span></a></li>
<li><a href="namespaces.html"><span>Namespaces</span></a></li>
<li class="current"><a href="annotated.html"><span>Classes</span></a></li>
<li><a href="dirs.html"><span>Directories</span></a></li>
</ul>
</div>
<div id="navrow2" class="tabs2">
<ul class="tablist">
<li><a href="annotated.html"><span>Class&#160;List</span></a></li>
<li><a href="hierarchy.html"><span>Class&#160;Hierarchy</span></a></li>
<li><a href="functions.html"><span>Class&#160;Members</span></a></li>
</ul>
</div>
<div id="nav-path" class="navpath">
<ul>
<li class="navelem"><b>com</b> </li>
<li class="navelem"><a class="el" href="namespacecom_1_1mxgraph.html">mxgraph</a> </li>
<li class="navelem"><a class="el" href="classcom_1_1mxgraph_1_1mxGraphViewImageReader.html">mxGraphViewImageReader</a> </li>
</ul>
</div>
</div>
<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="#pro-attribs">Protected Attributes</a> &#124;
<a href="#properties">Properties</a> </div>
<div class="headertitle">
<div class="title">com.mxgraph.mxGraphViewImageReader Class Reference</div> </div>
</div><!--header-->
<div class="contents">
<!-- doxytag: class="com::mxgraph::mxGraphViewImageReader" --><!-- doxytag: inherits="com::mxgraph::mxGraphViewReader" -->
<p>A converter that renders display XML data onto a GDI canvas.
<a href="classcom_1_1mxgraph_1_1mxGraphViewImageReader.html#details">More...</a></p>
<div class="dynheader">
Inheritance diagram for com.mxgraph.mxGraphViewImageReader:</div>
<div class="dyncontent">
<div class="center">
<img src="classcom_1_1mxgraph_1_1mxGraphViewImageReader.png" usemap="#com.mxgraph.mxGraphViewImageReader_map" alt=""/>
<map id="com.mxgraph.mxGraphViewImageReader_map" name="com.mxgraph.mxGraphViewImageReader_map">
<area href="classcom_1_1mxgraph_1_1mxGraphViewReader.html" title="An abstract converter that renders display XML data onto a canvas." alt="com.mxgraph.mxGraphViewReader" shape="rect" coords="0,0,243,24"/>
</map>
</div></div>
<p><a href="classcom_1_1mxgraph_1_1mxGraphViewImageReader-members.html">List of all members.</a></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxGraphViewImageReader.html#ab8598b1c264709ed66333cb738df9b30">mxGraphViewImageReader</a> (XmlReader reader)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructs a new GDI reader for the given display XML reader. <a href="#ab8598b1c264709ed66333cb738df9b30"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxGraphViewImageReader.html#a7acbaf11cf123b3cddbabd014848b942">mxGraphViewImageReader</a> (XmlReader reader, Color?<a class="el" href="classcom_1_1mxgraph_1_1mxGraphViewImageReader.html#a49229d243fc8cde0cbbcb00ceddbe174">background</a>)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructs a new GDI reader for the given display XML reader. <a href="#a7acbaf11cf123b3cddbabd014848b942"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxGraphViewImageReader.html#ad6da8a680057a0d269d8d3be7877b37c">mxGraphViewImageReader</a> (XmlReader reader, Color?<a class="el" href="classcom_1_1mxgraph_1_1mxGraphViewImageReader.html#a49229d243fc8cde0cbbcb00ceddbe174">background</a>, int <a class="el" href="classcom_1_1mxgraph_1_1mxGraphViewImageReader.html#a845b1acfb7f3f3df0560d195488a5c46">border</a>)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructs a new GDI reader for the given display XML reader. <a href="#ad6da8a680057a0d269d8d3be7877b37c"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxGraphViewImageReader.html#ab196e3c4b45a920b60ddd570d3862398">mxGraphViewImageReader</a> (XmlReader reader, Color?<a class="el" href="classcom_1_1mxgraph_1_1mxGraphViewImageReader.html#a49229d243fc8cde0cbbcb00ceddbe174">background</a>, int <a class="el" href="classcom_1_1mxgraph_1_1mxGraphViewImageReader.html#a845b1acfb7f3f3df0560d195488a5c46">border</a>, bool <a class="el" href="classcom_1_1mxgraph_1_1mxGraphViewImageReader.html#a57c1ed2284ee386838beaaeb2c656be0">antiAlias</a>)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructs a new GDI reader for the given display XML reader. <a href="#ab196e3c4b45a920b60ddd570d3862398"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxGraphViewImageReader.html#aa039dcc96d8e00b16cdcae6e1c0bf764">mxGraphViewImageReader</a> (XmlReader reader, Color?<a class="el" href="classcom_1_1mxgraph_1_1mxGraphViewImageReader.html#a49229d243fc8cde0cbbcb00ceddbe174">background</a>, int <a class="el" href="classcom_1_1mxgraph_1_1mxGraphViewImageReader.html#a845b1acfb7f3f3df0560d195488a5c46">border</a>, bool <a class="el" href="classcom_1_1mxgraph_1_1mxGraphViewImageReader.html#a57c1ed2284ee386838beaaeb2c656be0">antiAlias</a>, bool <a class="el" href="classcom_1_1mxgraph_1_1mxGraphViewImageReader.html#aec9cfa16b5c56eaa0c3c57ec002f7479">cropping</a>)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructs a new GDI reader for the given display XML reader. <a href="#aa039dcc96d8e00b16cdcae6e1c0bf764"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">override <a class="el" href="interfacecom_1_1mxgraph_1_1mxICanvas.html">mxICanvas</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxGraphViewImageReader.html#ac751f8dd4b8f3109adecb6dfc54e653a">CreateCanvas</a> (Dictionary&lt; string, Object &gt; attrs)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the canvas to be used for rendering. <a href="#ac751f8dd4b8f3109adecb6dfc54e653a"></a><br/></td></tr>
<tr><td colspan="2"><h2><a name="pub-static-methods"></a>
Static Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static Image&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxGraphViewImageReader.html#abd976ac0f32ee3ab8298440b59084b51">Convert</a> (<a class="el" href="classcom_1_1mxgraph_1_1mxGraphViewImageReader.html">mxGraphViewImageReader</a> viewReader)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Creates the image for the given display XML reader. For a given XmlReader, use the following code to create the view reader: new mxGraphViewImageReader(xmlReader, background, border, antiAlias);. <a href="#abd976ac0f32ee3ab8298440b59084b51"></a><br/></td></tr>
<tr><td colspan="2"><h2><a name="pro-attribs"></a>
Protected Attributes</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">Color&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxGraphViewImageReader.html#a49229d243fc8cde0cbbcb00ceddbe174">background</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Specifies the background color. <a href="#a49229d243fc8cde0cbbcb00ceddbe174"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxGraphViewImageReader.html#a845b1acfb7f3f3df0560d195488a5c46">border</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Specifies the border size. Default is 0. <a href="#a845b1acfb7f3f3df0560d195488a5c46"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxGraphViewImageReader.html#a57c1ed2284ee386838beaaeb2c656be0">antiAlias</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Default is true. <a href="#a57c1ed2284ee386838beaaeb2c656be0"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxGraphViewImageReader.html#aec9cfa16b5c56eaa0c3c57ec002f7479">cropping</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Default is true. <a href="#aec9cfa16b5c56eaa0c3c57ec002f7479"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><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_1mxGraphViewImageReader.html#ada7bc72e1d6e2fc1bf11346146c9a6fd">clip</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Specifies the optional clipping rectangle. <a href="#ada7bc72e1d6e2fc1bf11346146c9a6fd"></a><br/></td></tr>
<tr><td colspan="2"><h2><a name="properties"></a>
Properties</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">Color&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxGraphViewImageReader.html#ac05426b9f90d59b5770c76db6118e779">Background</a><code> [get, set]</code></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Accessors for the background property. <a href="#ac05426b9f90d59b5770c76db6118e779"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxGraphViewImageReader.html#a8925be0b478da1bdcfa816bba11b56d4">Border</a><code> [get, set]</code></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Accessors for the border property. <a href="#a8925be0b478da1bdcfa816bba11b56d4"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxGraphViewImageReader.html#adf00856dceb7bdcdfb22c0a0e8323337">AntiAlias</a><code> [get, set]</code></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Accessors for the background property. <a href="#adf00856dceb7bdcdfb22c0a0e8323337"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxGraphViewImageReader.html#addd2f1e978963b1d4466f226f266aa0c">Cropping</a><code> [get, set]</code></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Accessors for the cropping property. <a href="#addd2f1e978963b1d4466f226f266aa0c"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><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_1mxGraphViewImageReader.html#ab39b241080fd249a6a740d1598adcdf1">Clip</a><code> [get, set]</code></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Accessors for the clip property. <a href="#ab39b241080fd249a6a740d1598adcdf1"></a><br/></td></tr>
</table>
<hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
<div class="textblock"><p>A converter that renders display XML data onto a GDI canvas. </p>
</div><hr/><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="ab8598b1c264709ed66333cb738df9b30"></a><!-- doxytag: member="com::mxgraph::mxGraphViewImageReader::mxGraphViewImageReader" ref="ab8598b1c264709ed66333cb738df9b30" args="(XmlReader reader)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classcom_1_1mxgraph_1_1mxGraphViewImageReader.html#ab8598b1c264709ed66333cb738df9b30">com.mxgraph.mxGraphViewImageReader.mxGraphViewImageReader</a> </td>
<td>(</td>
<td class="paramtype">XmlReader&#160;</td>
<td class="paramname"><em>reader</em></td><td>)</td>
<td><code> [inline]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Constructs a new GDI reader for the given display XML reader. </p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
<table class="params">
<tr><td class="paramname">reader</td><td></td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a class="anchor" id="a7acbaf11cf123b3cddbabd014848b942"></a><!-- doxytag: member="com::mxgraph::mxGraphViewImageReader::mxGraphViewImageReader" ref="a7acbaf11cf123b3cddbabd014848b942" args="(XmlReader reader, Color?background)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classcom_1_1mxgraph_1_1mxGraphViewImageReader.html#ab8598b1c264709ed66333cb738df9b30">com.mxgraph.mxGraphViewImageReader.mxGraphViewImageReader</a> </td>
<td>(</td>
<td class="paramtype">XmlReader&#160;</td>
<td class="paramname"><em>reader</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><code> [inline]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Constructs a new GDI reader for the given display XML reader. </p>
</div>
</div>
<a class="anchor" id="ad6da8a680057a0d269d8d3be7877b37c"></a><!-- doxytag: member="com::mxgraph::mxGraphViewImageReader::mxGraphViewImageReader" ref="ad6da8a680057a0d269d8d3be7877b37c" args="(XmlReader reader, Color?background, int border)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classcom_1_1mxgraph_1_1mxGraphViewImageReader.html#ab8598b1c264709ed66333cb738df9b30">com.mxgraph.mxGraphViewImageReader.mxGraphViewImageReader</a> </td>
<td>(</td>
<td class="paramtype">XmlReader&#160;</td>
<td class="paramname"><em>reader</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">Color?&#160;</td>
<td class="paramname"><em>background</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int&#160;</td>
<td class="paramname"><em>border</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td><code> [inline]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Constructs a new GDI reader for the given display XML reader. </p>
</div>
</div>
<a class="anchor" id="ab196e3c4b45a920b60ddd570d3862398"></a><!-- doxytag: member="com::mxgraph::mxGraphViewImageReader::mxGraphViewImageReader" ref="ab196e3c4b45a920b60ddd570d3862398" args="(XmlReader reader, Color?background, int border, bool antiAlias)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classcom_1_1mxgraph_1_1mxGraphViewImageReader.html#ab8598b1c264709ed66333cb738df9b30">com.mxgraph.mxGraphViewImageReader.mxGraphViewImageReader</a> </td>
<td>(</td>
<td class="paramtype">XmlReader&#160;</td>
<td class="paramname"><em>reader</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">Color?&#160;</td>
<td class="paramname"><em>background</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int&#160;</td>
<td class="paramname"><em>border</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">bool&#160;</td>
<td class="paramname"><em>antiAlias</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td><code> [inline]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Constructs a new GDI reader for the given display XML reader. </p>
</div>
</div>
<a class="anchor" id="aa039dcc96d8e00b16cdcae6e1c0bf764"></a><!-- doxytag: member="com::mxgraph::mxGraphViewImageReader::mxGraphViewImageReader" ref="aa039dcc96d8e00b16cdcae6e1c0bf764" args="(XmlReader reader, Color?background, int border, bool antiAlias, bool cropping)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classcom_1_1mxgraph_1_1mxGraphViewImageReader.html#ab8598b1c264709ed66333cb738df9b30">com.mxgraph.mxGraphViewImageReader.mxGraphViewImageReader</a> </td>
<td>(</td>
<td class="paramtype">XmlReader&#160;</td>
<td class="paramname"><em>reader</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">Color?&#160;</td>
<td class="paramname"><em>background</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int&#160;</td>
<td class="paramname"><em>border</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">bool&#160;</td>
<td class="paramname"><em>antiAlias</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">bool&#160;</td>
<td class="paramname"><em>cropping</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td><code> [inline]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Constructs a new GDI reader for the given display XML reader. </p>
</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="abd976ac0f32ee3ab8298440b59084b51"></a><!-- doxytag: member="com::mxgraph::mxGraphViewImageReader::Convert" ref="abd976ac0f32ee3ab8298440b59084b51" args="(mxGraphViewImageReader viewReader)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">static Image <a class="el" href="classcom_1_1mxgraph_1_1mxGraphViewImageReader.html#abd976ac0f32ee3ab8298440b59084b51">com.mxgraph.mxGraphViewImageReader.Convert</a> </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classcom_1_1mxgraph_1_1mxGraphViewImageReader.html">mxGraphViewImageReader</a>&#160;</td>
<td class="paramname"><em>viewReader</em></td><td>)</td>
<td><code> [inline, static]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Creates the image for the given display XML reader. For a given XmlReader, use the following code to create the view reader: new mxGraphViewImageReader(xmlReader, background, border, antiAlias);. </p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
<table class="params">
<tr><td class="paramname">viewReader</td><td>Reader that contains the display XML.</td></tr>
</table>
</dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>Returns an image representing the display XML reader.</dd></dl>
</div>
</div>
<a class="anchor" id="ac751f8dd4b8f3109adecb6dfc54e653a"></a><!-- doxytag: member="com::mxgraph::mxGraphViewImageReader::CreateCanvas" ref="ac751f8dd4b8f3109adecb6dfc54e653a" args="(Dictionary&lt; string, Object &gt; attrs)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">override <a class="el" href="interfacecom_1_1mxgraph_1_1mxICanvas.html">mxICanvas</a> <a class="el" href="classcom_1_1mxgraph_1_1mxGraphViewImageReader.html#ac751f8dd4b8f3109adecb6dfc54e653a">com.mxgraph.mxGraphViewImageReader.CreateCanvas</a> </td>
<td>(</td>
<td class="paramtype">Dictionary&lt; string, Object &gt;&#160;</td>
<td class="paramname"><em>attrs</em></td><td>)</td>
<td><code> [inline, virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Returns the canvas to be used for rendering. </p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
<table class="params">
<tr><td class="paramname">attrs</td><td>Specifies the attributes of the new canvas.</td></tr>
</table>
</dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>Returns a new canvas.</dd></dl>
<p>Implements <a class="el" href="classcom_1_1mxgraph_1_1mxGraphViewReader.html#a16cbdd6012a6daa03b51fbf99e3aa8c4">com.mxgraph.mxGraphViewReader</a>.</p>
</div>
</div>
<hr/><h2>Member Data Documentation</h2>
<a class="anchor" id="a57c1ed2284ee386838beaaeb2c656be0"></a><!-- doxytag: member="com::mxgraph::mxGraphViewImageReader::antiAlias" ref="a57c1ed2284ee386838beaaeb2c656be0" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool <a class="el" href="classcom_1_1mxgraph_1_1mxGraphViewImageReader.html#a57c1ed2284ee386838beaaeb2c656be0">com.mxgraph.mxGraphViewImageReader.antiAlias</a><code> [protected]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Default is true. </p>
</div>
</div>
<a class="anchor" id="a49229d243fc8cde0cbbcb00ceddbe174"></a><!-- doxytag: member="com::mxgraph::mxGraphViewImageReader::background" ref="a49229d243fc8cde0cbbcb00ceddbe174" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">Color <a class="el" href="classcom_1_1mxgraph_1_1mxGraphViewImageReader.html#a49229d243fc8cde0cbbcb00ceddbe174">com.mxgraph.mxGraphViewImageReader.background</a><code> [protected]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Specifies the background color. </p>
</div>
</div>
<a class="anchor" id="a845b1acfb7f3f3df0560d195488a5c46"></a><!-- doxytag: member="com::mxgraph::mxGraphViewImageReader::border" ref="a845b1acfb7f3f3df0560d195488a5c46" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int <a class="el" href="classcom_1_1mxgraph_1_1mxGraphViewImageReader.html#a845b1acfb7f3f3df0560d195488a5c46">com.mxgraph.mxGraphViewImageReader.border</a><code> [protected]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Specifies the border size. Default is 0. </p>
</div>
</div>
<a class="anchor" id="ada7bc72e1d6e2fc1bf11346146c9a6fd"></a><!-- doxytag: member="com::mxgraph::mxGraphViewImageReader::clip" ref="ada7bc72e1d6e2fc1bf11346146c9a6fd" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classcom_1_1mxgraph_1_1mxRectangle.html">mxRectangle</a> <a class="el" href="classcom_1_1mxgraph_1_1mxGraphViewImageReader.html#ada7bc72e1d6e2fc1bf11346146c9a6fd">com.mxgraph.mxGraphViewImageReader.clip</a><code> [protected]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Specifies the optional clipping rectangle. </p>
</div>
</div>
<a class="anchor" id="aec9cfa16b5c56eaa0c3c57ec002f7479"></a><!-- doxytag: member="com::mxgraph::mxGraphViewImageReader::cropping" ref="aec9cfa16b5c56eaa0c3c57ec002f7479" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool <a class="el" href="classcom_1_1mxgraph_1_1mxGraphViewImageReader.html#aec9cfa16b5c56eaa0c3c57ec002f7479">com.mxgraph.mxGraphViewImageReader.cropping</a><code> [protected]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Default is true. </p>
</div>
</div>
<hr/><h2>Property Documentation</h2>
<a class="anchor" id="adf00856dceb7bdcdfb22c0a0e8323337"></a><!-- doxytag: member="com::mxgraph::mxGraphViewImageReader::AntiAlias" ref="adf00856dceb7bdcdfb22c0a0e8323337" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool <a class="el" href="classcom_1_1mxgraph_1_1mxGraphViewImageReader.html#adf00856dceb7bdcdfb22c0a0e8323337">com.mxgraph.mxGraphViewImageReader.AntiAlias</a><code> [get, set]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Accessors for the background property. </p>
</div>
</div>
<a class="anchor" id="ac05426b9f90d59b5770c76db6118e779"></a><!-- doxytag: member="com::mxgraph::mxGraphViewImageReader::Background" ref="ac05426b9f90d59b5770c76db6118e779" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">Color <a class="el" href="classcom_1_1mxgraph_1_1mxGraphViewImageReader.html#ac05426b9f90d59b5770c76db6118e779">com.mxgraph.mxGraphViewImageReader.Background</a><code> [get, set]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Accessors for the background property. </p>
</div>
</div>
<a class="anchor" id="a8925be0b478da1bdcfa816bba11b56d4"></a><!-- doxytag: member="com::mxgraph::mxGraphViewImageReader::Border" ref="a8925be0b478da1bdcfa816bba11b56d4" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int <a class="el" href="classcom_1_1mxgraph_1_1mxGraphViewImageReader.html#a8925be0b478da1bdcfa816bba11b56d4">com.mxgraph.mxGraphViewImageReader.Border</a><code> [get, set]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Accessors for the border property. </p>
</div>
</div>
<a class="anchor" id="ab39b241080fd249a6a740d1598adcdf1"></a><!-- doxytag: member="com::mxgraph::mxGraphViewImageReader::Clip" ref="ab39b241080fd249a6a740d1598adcdf1" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classcom_1_1mxgraph_1_1mxRectangle.html">mxRectangle</a> <a class="el" href="classcom_1_1mxgraph_1_1mxGraphViewImageReader.html#ab39b241080fd249a6a740d1598adcdf1">com.mxgraph.mxGraphViewImageReader.Clip</a><code> [get, set]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Accessors for the clip property. </p>
</div>
</div>
<a class="anchor" id="addd2f1e978963b1d4466f226f266aa0c"></a><!-- doxytag: member="com::mxgraph::mxGraphViewImageReader::Cropping" ref="addd2f1e978963b1d4466f226f266aa0c" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool <a class="el" href="classcom_1_1mxgraph_1_1mxGraphViewImageReader.html#addd2f1e978963b1d4466f226f266aa0c">com.mxgraph.mxGraphViewImageReader.Cropping</a><code> [get, set]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Accessors for the cropping property. </p>
</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>src/reader/mxGraphViewImageReader.cs</li>
</ul>
</div><!-- contents -->
<hr class="footer"/><address class="footer"><small>
Generated on Tue Jul 30 2013 07:03:55 for mxGraph by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.7.6.1
</small></address>
</body>
</html>