484 lines
26 KiB
HTML
484 lines
26 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"/>
|
|
<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>
|
|
<!-- Generated by Doxygen 1.6.3 -->
|
|
<div class="navigation" id="top">
|
|
<div class="tabs">
|
|
<ul>
|
|
<li><a href="index.html"><span>Main Page</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 class="tabs">
|
|
<ul>
|
|
<li><a href="annotated.html"><span>Class List</span></a></li>
|
|
<li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li>
|
|
<li><a href="functions.html"><span>Class Members</span></a></li>
|
|
</ul>
|
|
</div>
|
|
<div class="navpath"><b>com</b>::<b>mxgraph</b>::<a class="el" href="classcom_1_1mxgraph_1_1mxGraphViewImageReader.html">mxGraphViewImageReader</a>
|
|
</div>
|
|
</div>
|
|
<div class="contents">
|
|
<h1>com::mxgraph::mxGraphViewImageReader Class Reference</h1><!-- doxytag: class="com::mxgraph::mxGraphViewImageReader" --><!-- doxytag: inherits="com::mxgraph::mxGraphViewReader" -->
|
|
<p>A converter that renders display XML data onto a GDI canvas.
|
|
<a href="#_details">More...</a></p>
|
|
<div class="dynheader">
|
|
Inheritance diagram for com::mxgraph::mxGraphViewImageReader:</div>
|
|
<div class="dynsection">
|
|
<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" alt="com::mxgraph::mxGraphViewReader" shape="rect" coords="0,0,247,24"/>
|
|
</map>
|
|
</div>
|
|
</div>
|
|
|
|
<p><a href="classcom_1_1mxgraph_1_1mxGraphViewImageReader-members.html">List of all members.</a></p>
|
|
<table border="0" cellpadding="0" cellspacing="0">
|
|
<tr><td colspan="2"><h2>Public Member Functions</h2></td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxGraphViewImageReader.html#a5c2f0f08cef339f6498c1eed95a9295b">mxGraphViewImageReader</a> (XmlReader reader)</td></tr>
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Constructs a new GDI reader for the given display XML reader. <a href="#a5c2f0f08cef339f6498c1eed95a9295b"></a><br/></td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxGraphViewImageReader.html#a95325f9666af7bdd8bf1cbe6ba931f01">mxGraphViewImageReader</a> (XmlReader reader, Color?<a class="el" href="classcom_1_1mxgraph_1_1mxGraphViewImageReader.html#aed5809860eb0645637557fca52728c88">background</a>)</td></tr>
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Constructs a new GDI reader for the given display XML reader. <a href="#a95325f9666af7bdd8bf1cbe6ba931f01"></a><br/></td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxGraphViewImageReader.html#ac2e1fcb9f0d3547fe75227924cd4f442">mxGraphViewImageReader</a> (XmlReader reader, Color?<a class="el" href="classcom_1_1mxgraph_1_1mxGraphViewImageReader.html#aed5809860eb0645637557fca52728c88">background</a>, int <a class="el" href="classcom_1_1mxgraph_1_1mxGraphViewImageReader.html#aff0fe532ec2953fdd42f95a77b39eaf6">border</a>)</td></tr>
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Constructs a new GDI reader for the given display XML reader. <a href="#ac2e1fcb9f0d3547fe75227924cd4f442"></a><br/></td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxGraphViewImageReader.html#a871b36b68a84b5af6134bdaa37067876">mxGraphViewImageReader</a> (XmlReader reader, Color?<a class="el" href="classcom_1_1mxgraph_1_1mxGraphViewImageReader.html#aed5809860eb0645637557fca52728c88">background</a>, int <a class="el" href="classcom_1_1mxgraph_1_1mxGraphViewImageReader.html#aff0fe532ec2953fdd42f95a77b39eaf6">border</a>, bool <a class="el" href="classcom_1_1mxgraph_1_1mxGraphViewImageReader.html#a6d9801aae801ca3503ab23f5f7ff06cd">antiAlias</a>)</td></tr>
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Constructs a new GDI reader for the given display XML reader. <a href="#a871b36b68a84b5af6134bdaa37067876"></a><br/></td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxGraphViewImageReader.html#affaf1f7e3e1c8d44d928438a0dcaae9f">mxGraphViewImageReader</a> (XmlReader reader, Color?<a class="el" href="classcom_1_1mxgraph_1_1mxGraphViewImageReader.html#aed5809860eb0645637557fca52728c88">background</a>, int <a class="el" href="classcom_1_1mxgraph_1_1mxGraphViewImageReader.html#aff0fe532ec2953fdd42f95a77b39eaf6">border</a>, bool <a class="el" href="classcom_1_1mxgraph_1_1mxGraphViewImageReader.html#a6d9801aae801ca3503ab23f5f7ff06cd">antiAlias</a>, bool <a class="el" href="classcom_1_1mxgraph_1_1mxGraphViewImageReader.html#af50cf355de821b22f1139224b7ab960b">cropping</a>)</td></tr>
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Constructs a new GDI reader for the given display XML reader. <a href="#affaf1f7e3e1c8d44d928438a0dcaae9f"></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> </td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxGraphViewImageReader.html#ac8356063dfd38867d0a9941c4211d57d">CreateCanvas</a> (Dictionary< string, Object > attrs)</td></tr>
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Returns the canvas to be used for rendering. <a href="#ac8356063dfd38867d0a9941c4211d57d"></a><br/></td></tr>
|
|
<tr><td colspan="2"><h2>Static Public Member Functions</h2></td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">static Image </td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxGraphViewImageReader.html#a6ce1023a33d6eac6bc4abb5219110d89">Convert</a> (<a class="el" href="classcom_1_1mxgraph_1_1mxGraphViewImageReader.html">mxGraphViewImageReader</a> viewReader)</td></tr>
|
|
<tr><td class="mdescLeft"> </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="#a6ce1023a33d6eac6bc4abb5219110d89"></a><br/></td></tr>
|
|
<tr><td colspan="2"><h2>Protected Attributes</h2></td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">Color </td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxGraphViewImageReader.html#aed5809860eb0645637557fca52728c88">background</a></td></tr>
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Specifies the background color. <a href="#aed5809860eb0645637557fca52728c88"></a><br/></td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxGraphViewImageReader.html#aff0fe532ec2953fdd42f95a77b39eaf6">border</a></td></tr>
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Specifies the border size. Default is 0. <a href="#aff0fe532ec2953fdd42f95a77b39eaf6"></a><br/></td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxGraphViewImageReader.html#a6d9801aae801ca3503ab23f5f7ff06cd">antiAlias</a></td></tr>
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Default is true. <a href="#a6d9801aae801ca3503ab23f5f7ff06cd"></a><br/></td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxGraphViewImageReader.html#af50cf355de821b22f1139224b7ab960b">cropping</a></td></tr>
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Default is true. <a href="#af50cf355de821b22f1139224b7ab960b"></a><br/></td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classcom_1_1mxgraph_1_1mxRectangle.html">mxRectangle</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxGraphViewImageReader.html#a0d0ca19582bd5c2b329ebcf456736100">clip</a></td></tr>
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Specifies the optional clipping rectangle. <a href="#a0d0ca19582bd5c2b329ebcf456736100"></a><br/></td></tr>
|
|
<tr><td colspan="2"><h2>Properties</h2></td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">Color </td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxGraphViewImageReader.html#a86163e41e964450a012d38a97954921f">Background</a><code> [get, set]</code></td></tr>
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Accessors for the background property. <a href="#a86163e41e964450a012d38a97954921f"></a><br/></td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxGraphViewImageReader.html#abbc386cb9f33f2f3328ce945d355e09b">Border</a><code> [get, set]</code></td></tr>
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Accessors for the border property. <a href="#abbc386cb9f33f2f3328ce945d355e09b"></a><br/></td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxGraphViewImageReader.html#a1dc79898cc116600a6322fb83d13a4b1">AntiAlias</a><code> [get, set]</code></td></tr>
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Accessors for the background property. <a href="#a1dc79898cc116600a6322fb83d13a4b1"></a><br/></td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxGraphViewImageReader.html#af3964c9aa47942ad27136fe899abf542">Cropping</a><code> [get, set]</code></td></tr>
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Accessors for the cropping property. <a href="#af3964c9aa47942ad27136fe899abf542"></a><br/></td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classcom_1_1mxgraph_1_1mxRectangle.html">mxRectangle</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxGraphViewImageReader.html#a17d2074a21622207e42044624cf957be">Clip</a><code> [get, set]</code></td></tr>
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Accessors for the clip property. <a href="#a17d2074a21622207e42044624cf957be"></a><br/></td></tr>
|
|
</table>
|
|
<hr/><a name="_details"></a><h2>Detailed Description</h2>
|
|
<p>A converter that renders display XML data onto a GDI canvas. </p>
|
|
<hr/><h2>Constructor & Destructor Documentation</h2>
|
|
<a class="anchor" id="a5c2f0f08cef339f6498c1eed95a9295b"></a><!-- doxytag: member="com::mxgraph::mxGraphViewImageReader::mxGraphViewImageReader" ref="a5c2f0f08cef339f6498c1eed95a9295b" args="(XmlReader reader)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">com::mxgraph::mxGraphViewImageReader::mxGraphViewImageReader </td>
|
|
<td>(</td>
|
|
<td class="paramtype">XmlReader </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><dt><b>Parameters:</b></dt><dd>
|
|
<table border="0" cellspacing="2" cellpadding="0">
|
|
<tr><td valign="top"></td><td valign="top"><em>reader</em> </td><td></td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a95325f9666af7bdd8bf1cbe6ba931f01"></a><!-- doxytag: member="com::mxgraph::mxGraphViewImageReader::mxGraphViewImageReader" ref="a95325f9666af7bdd8bf1cbe6ba931f01" args="(XmlReader reader, Color?background)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">com::mxgraph::mxGraphViewImageReader::mxGraphViewImageReader </td>
|
|
<td>(</td>
|
|
<td class="paramtype">XmlReader </td>
|
|
<td class="paramname"> <em>reader</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">Color? </td>
|
|
<td class="paramname"> <em>background</em></td><td> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<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="ac2e1fcb9f0d3547fe75227924cd4f442"></a><!-- doxytag: member="com::mxgraph::mxGraphViewImageReader::mxGraphViewImageReader" ref="ac2e1fcb9f0d3547fe75227924cd4f442" args="(XmlReader reader, Color?background, int border)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">com::mxgraph::mxGraphViewImageReader::mxGraphViewImageReader </td>
|
|
<td>(</td>
|
|
<td class="paramtype">XmlReader </td>
|
|
<td class="paramname"> <em>reader</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">Color? </td>
|
|
<td class="paramname"> <em>background</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">int </td>
|
|
<td class="paramname"> <em>border</em></td><td> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<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="a871b36b68a84b5af6134bdaa37067876"></a><!-- doxytag: member="com::mxgraph::mxGraphViewImageReader::mxGraphViewImageReader" ref="a871b36b68a84b5af6134bdaa37067876" args="(XmlReader reader, Color?background, int border, bool antiAlias)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">com::mxgraph::mxGraphViewImageReader::mxGraphViewImageReader </td>
|
|
<td>(</td>
|
|
<td class="paramtype">XmlReader </td>
|
|
<td class="paramname"> <em>reader</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">Color? </td>
|
|
<td class="paramname"> <em>background</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">int </td>
|
|
<td class="paramname"> <em>border</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">bool </td>
|
|
<td class="paramname"> <em>antiAlias</em></td><td> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<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="affaf1f7e3e1c8d44d928438a0dcaae9f"></a><!-- doxytag: member="com::mxgraph::mxGraphViewImageReader::mxGraphViewImageReader" ref="affaf1f7e3e1c8d44d928438a0dcaae9f" args="(XmlReader reader, Color?background, int border, bool antiAlias, bool cropping)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">com::mxgraph::mxGraphViewImageReader::mxGraphViewImageReader </td>
|
|
<td>(</td>
|
|
<td class="paramtype">XmlReader </td>
|
|
<td class="paramname"> <em>reader</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">Color? </td>
|
|
<td class="paramname"> <em>background</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">int </td>
|
|
<td class="paramname"> <em>border</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">bool </td>
|
|
<td class="paramname"> <em>antiAlias</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">bool </td>
|
|
<td class="paramname"> <em>cropping</em></td><td> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<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="a6ce1023a33d6eac6bc4abb5219110d89"></a><!-- doxytag: member="com::mxgraph::mxGraphViewImageReader::Convert" ref="a6ce1023a33d6eac6bc4abb5219110d89" args="(mxGraphViewImageReader viewReader)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">static Image com::mxgraph::mxGraphViewImageReader::Convert </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="classcom_1_1mxgraph_1_1mxGraphViewImageReader.html">mxGraphViewImageReader</a> </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><dt><b>Parameters:</b></dt><dd>
|
|
<table border="0" cellspacing="2" cellpadding="0">
|
|
<tr><td valign="top"></td><td valign="top"><em>viewReader</em> </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="ac8356063dfd38867d0a9941c4211d57d"></a><!-- doxytag: member="com::mxgraph::mxGraphViewImageReader::CreateCanvas" ref="ac8356063dfd38867d0a9941c4211d57d" args="(Dictionary< string, Object > 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> com::mxgraph::mxGraphViewImageReader::CreateCanvas </td>
|
|
<td>(</td>
|
|
<td class="paramtype">Dictionary< string, Object > </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><dt><b>Parameters:</b></dt><dd>
|
|
<table border="0" cellspacing="2" cellpadding="0">
|
|
<tr><td valign="top"></td><td valign="top"><em>attrs</em> </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#ae5c444871b99317d1d27268430a9016f">com::mxgraph::mxGraphViewReader</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<hr/><h2>Member Data Documentation</h2>
|
|
<a class="anchor" id="a6d9801aae801ca3503ab23f5f7ff06cd"></a><!-- doxytag: member="com::mxgraph::mxGraphViewImageReader::antiAlias" ref="a6d9801aae801ca3503ab23f5f7ff06cd" 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#a6d9801aae801ca3503ab23f5f7ff06cd">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="aed5809860eb0645637557fca52728c88"></a><!-- doxytag: member="com::mxgraph::mxGraphViewImageReader::background" ref="aed5809860eb0645637557fca52728c88" 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#aed5809860eb0645637557fca52728c88">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="aff0fe532ec2953fdd42f95a77b39eaf6"></a><!-- doxytag: member="com::mxgraph::mxGraphViewImageReader::border" ref="aff0fe532ec2953fdd42f95a77b39eaf6" 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#aff0fe532ec2953fdd42f95a77b39eaf6">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="a0d0ca19582bd5c2b329ebcf456736100"></a><!-- doxytag: member="com::mxgraph::mxGraphViewImageReader::clip" ref="a0d0ca19582bd5c2b329ebcf456736100" 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#a0d0ca19582bd5c2b329ebcf456736100">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="af50cf355de821b22f1139224b7ab960b"></a><!-- doxytag: member="com::mxgraph::mxGraphViewImageReader::cropping" ref="af50cf355de821b22f1139224b7ab960b" 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#af50cf355de821b22f1139224b7ab960b">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="a1dc79898cc116600a6322fb83d13a4b1"></a><!-- doxytag: member="com::mxgraph::mxGraphViewImageReader::AntiAlias" ref="a1dc79898cc116600a6322fb83d13a4b1" args="" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">bool com::mxgraph::mxGraphViewImageReader::AntiAlias<code> [get, set]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>Accessors for the background property. </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a86163e41e964450a012d38a97954921f"></a><!-- doxytag: member="com::mxgraph::mxGraphViewImageReader::Background" ref="a86163e41e964450a012d38a97954921f" args="" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">Color com::mxgraph::mxGraphViewImageReader::Background<code> [get, set]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>Accessors for the background property. </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="abbc386cb9f33f2f3328ce945d355e09b"></a><!-- doxytag: member="com::mxgraph::mxGraphViewImageReader::Border" ref="abbc386cb9f33f2f3328ce945d355e09b" args="" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">int com::mxgraph::mxGraphViewImageReader::Border<code> [get, set]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>Accessors for the border property. </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a17d2074a21622207e42044624cf957be"></a><!-- doxytag: member="com::mxgraph::mxGraphViewImageReader::Clip" ref="a17d2074a21622207e42044624cf957be" 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> com::mxgraph::mxGraphViewImageReader::Clip<code> [get, set]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>Accessors for the clip property. </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="af3964c9aa47942ad27136fe899abf542"></a><!-- doxytag: member="com::mxgraph::mxGraphViewImageReader::Cropping" ref="af3964c9aa47942ad27136fe899abf542" args="" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">bool com::mxgraph::mxGraphViewImageReader::Cropping<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>
|
|
<hr class="footer"/><address style="text-align: right;"><small>Generated on Wed Jan 16 08:45:21 2013 for mxGraph by
|
|
<a href="http://www.doxygen.org/index.html">
|
|
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.3 </small></address>
|
|
</body>
|
|
</html>
|