Terminal.Gui.Rect.html 44 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348
  1. <!DOCTYPE html>
  2. <!--[if IE]><![endif]-->
  3. <html>
  4. <head>
  5. <meta charset="utf-8">
  6. <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
  7. <title>Class Rect
  8. </title>
  9. <meta name="viewport" content="width=device-width">
  10. <meta name="title" content="Class Rect
  11. ">
  12. <meta name="generator" content="docfx 2.59.3.0">
  13. <link rel="shortcut icon" href="../../favicon.ico">
  14. <link rel="stylesheet" href="../../styles/docfx.vendor.css">
  15. <link rel="stylesheet" href="../../styles/docfx.css">
  16. <link rel="stylesheet" href="../../styles/main.css">
  17. <meta property="docfx:navrel" content="../../toc.html">
  18. <meta property="docfx:tocrel" content="toc.html">
  19. <meta property="docfx:rel" content="../../">
  20. </head>
  21. <body data-spy="scroll" data-target="#affix" data-offset="120">
  22. <div id="wrapper">
  23. <header>
  24. <nav id="autocollapse" class="navbar navbar-inverse ng-scope" role="navigation">
  25. <div class="container">
  26. <div class="navbar-header">
  27. <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#navbar">
  28. <span class="sr-only">Toggle navigation</span>
  29. <span class="icon-bar"></span>
  30. <span class="icon-bar"></span>
  31. <span class="icon-bar"></span>
  32. </button>
  33. <a class="navbar-brand" href="../../index.html">
  34. <img id="logo" class="svg" src="../../images/logo48.png" alt="">
  35. </a>
  36. </div>
  37. <div class="collapse navbar-collapse" id="navbar">
  38. <form class="navbar-form navbar-right" role="search" id="search">
  39. <div class="form-group">
  40. <input type="text" class="form-control" id="search-query" placeholder="Search" autocomplete="off">
  41. </div>
  42. </form>
  43. </div>
  44. </div>
  45. </nav>
  46. <div class="subnav navbar navbar-default">
  47. <div class="container hide-when-search" id="breadcrumb">
  48. <ul class="breadcrumb">
  49. <li></li>
  50. </ul>
  51. </div>
  52. </div>
  53. </header>
  54. <div class="container body-content">
  55. <div id="search-results">
  56. <div class="search-list">Search Results for <span></span></div>
  57. <div class="sr-items">
  58. <p><i class="glyphicon glyphicon-refresh index-loading"></i></p>
  59. </div>
  60. <ul id="pagination" data-first="First" data-prev="Previous" data-next="Next" data-last="Last"></ul>
  61. </div>
  62. </div>
  63. <div role="main" class="container body-content hide-when-search">
  64. <div class="sidenav hide-when-search">
  65. <a class="btn toc-toggle collapse" data-toggle="collapse" href="#sidetoggle" aria-expanded="false" aria-controls="sidetoggle">Show / Hide Table of Contents</a>
  66. <div class="sidetoggle collapse" id="sidetoggle">
  67. <div id="sidetoc"></div>
  68. </div>
  69. </div>
  70. <div class="article row grid-right">
  71. <div class="col-md-10">
  72. <article class="content wrap" id="_content" data-uid="Terminal.Gui.Rect">
  73. <h1 id="Terminal_Gui_Rect" data-uid="Terminal.Gui.Rect" class="text-break">Class Rect
  74. </h1>
  75. <div class="markdown level0 summary">
  76. Stores a set of four integers that represent the location and size of a rectangle
  77. </div>
  78. <div class="markdown level0 conceptual"></div>
  79. <div class="inheritance">
  80. <h5>Inheritance</h5>
  81. <div class="level0"><span class="xref">System.Object</span></div>
  82. <div class="level1"><span class="xref">Rect</span></div>
  83. </div>
  84. <h6><strong>Namespace</strong>: <a class="xref" href="Terminal.Gui.html">Terminal.Gui</a></h6>
  85. <h6><strong>Assembly</strong>: Terminal.Gui.dll</h6>
  86. <h5 id="Terminal_Gui_Rect_syntax">Syntax</h5>
  87. <div class="codewrapper">
  88. <pre><code class="lang-csharp hljs">public sealed class Rect : ValueType</code></pre>
  89. </div>
  90. <h3 id="constructors">Constructors
  91. </h3>
  92. <a id="Terminal_Gui_Rect__ctor_" data-uid="Terminal.Gui.Rect.#ctor*"></a>
  93. <h4 id="Terminal_Gui_Rect__ctor_System_Int32_System_Int32_System_Int32_System_Int32_" data-uid="Terminal.Gui.Rect.#ctor(System.Int32,System.Int32,System.Int32,System.Int32)">Rect(Int32, Int32, Int32, Int32)</h4>
  94. <div class="markdown level1 summary">
  95. Rectangle Constructor
  96. </div>
  97. <div class="markdown level1 conceptual"></div>
  98. <h5 class="decalaration">Declaration</h5>
  99. <div class="codewrapper">
  100. <pre><code class="lang-csharp hljs">public Rect(int x, int y, int width, int height)</code></pre>
  101. </div>
  102. <h5 class="parameters">Parameters</h5>
  103. <table class="table table-bordered table-striped table-condensed">
  104. <thead>
  105. <tr>
  106. <th>Type</th>
  107. <th>Name</th>
  108. <th>Description</th>
  109. </tr>
  110. </thead>
  111. <tbody>
  112. <tr>
  113. <td><span class="xref">System.Int32</span></td>
  114. <td><span class="parametername">x</span></td>
  115. <td></td>
  116. </tr>
  117. <tr>
  118. <td><span class="xref">System.Int32</span></td>
  119. <td><span class="parametername">y</span></td>
  120. <td></td>
  121. </tr>
  122. <tr>
  123. <td><span class="xref">System.Int32</span></td>
  124. <td><span class="parametername">width</span></td>
  125. <td></td>
  126. </tr>
  127. <tr>
  128. <td><span class="xref">System.Int32</span></td>
  129. <td><span class="parametername">height</span></td>
  130. <td></td>
  131. </tr>
  132. </tbody>
  133. </table>
  134. <h5 id="Terminal_Gui_Rect__ctor_System_Int32_System_Int32_System_Int32_System_Int32__remarks">Remarks</h5>
  135. <div class="markdown level1 remarks">
  136. Creates a Rectangle from a specified x,y location and
  137. width and height values.
  138. </div>
  139. <a id="Terminal_Gui_Rect__ctor_" data-uid="Terminal.Gui.Rect.#ctor*"></a>
  140. <h4 id="Terminal_Gui_Rect__ctor_Terminal_Gui_Point_Terminal_Gui_Size_" data-uid="Terminal.Gui.Rect.#ctor(Terminal.Gui.Point,Terminal.Gui.Size)">Rect(Point, Size)</h4>
  141. <div class="markdown level1 summary">
  142. Rectangle Constructor
  143. </div>
  144. <div class="markdown level1 conceptual"></div>
  145. <h5 class="decalaration">Declaration</h5>
  146. <div class="codewrapper">
  147. <pre><code class="lang-csharp hljs">public Rect(Point location, Size size)</code></pre>
  148. </div>
  149. <h5 class="parameters">Parameters</h5>
  150. <table class="table table-bordered table-striped table-condensed">
  151. <thead>
  152. <tr>
  153. <th>Type</th>
  154. <th>Name</th>
  155. <th>Description</th>
  156. </tr>
  157. </thead>
  158. <tbody>
  159. <tr>
  160. <td><a class="xref" href="Terminal.Gui.Point.html">Point</a></td>
  161. <td><span class="parametername">location</span></td>
  162. <td></td>
  163. </tr>
  164. <tr>
  165. <td><a class="xref" href="Terminal.Gui.Size.html">Size</a></td>
  166. <td><span class="parametername">size</span></td>
  167. <td></td>
  168. </tr>
  169. </tbody>
  170. </table>
  171. <h5 id="Terminal_Gui_Rect__ctor_Terminal_Gui_Point_Terminal_Gui_Size__remarks">Remarks</h5>
  172. <div class="markdown level1 remarks">
  173. Creates a Rectangle from Point and Size values.
  174. </div>
  175. <h3 id="fields">Fields
  176. </h3>
  177. <h4 id="Terminal_Gui_Rect_Empty" data-uid="Terminal.Gui.Rect.Empty">Empty</h4>
  178. <div class="markdown level1 summary">
  179. Empty Shared Field
  180. </div>
  181. <div class="markdown level1 conceptual"></div>
  182. <h5 class="decalaration">Declaration</h5>
  183. <div class="codewrapper">
  184. <pre><code class="lang-csharp hljs">public static readonly Rect Empty</code></pre>
  185. </div>
  186. <h5 class="fieldValue">Field Value</h5>
  187. <table class="table table-bordered table-striped table-condensed">
  188. <thead>
  189. <tr>
  190. <th>Type</th>
  191. <th>Description</th>
  192. </tr>
  193. </thead>
  194. <tbody>
  195. <tr>
  196. <td><a class="xref" href="Terminal.Gui.Rect.html">Rect</a></td>
  197. <td></td>
  198. </tr>
  199. </tbody>
  200. </table>
  201. <h5 id="Terminal_Gui_Rect_Empty_remarks">Remarks</h5>
  202. <div class="markdown level1 remarks">
  203. An uninitialized Rectangle Structure.
  204. </div>
  205. <h4 id="Terminal_Gui_Rect_X" data-uid="Terminal.Gui.Rect.X">X</h4>
  206. <div class="markdown level1 summary">
  207. Gets or sets the x-coordinate of the upper-left corner of this Rectangle structure.
  208. </div>
  209. <div class="markdown level1 conceptual"></div>
  210. <h5 class="decalaration">Declaration</h5>
  211. <div class="codewrapper">
  212. <pre><code class="lang-csharp hljs">public int X</code></pre>
  213. </div>
  214. <h5 class="fieldValue">Field Value</h5>
  215. <table class="table table-bordered table-striped table-condensed">
  216. <thead>
  217. <tr>
  218. <th>Type</th>
  219. <th>Description</th>
  220. </tr>
  221. </thead>
  222. <tbody>
  223. <tr>
  224. <td><span class="xref">System.Int32</span></td>
  225. <td></td>
  226. </tr>
  227. </tbody>
  228. </table>
  229. <h4 id="Terminal_Gui_Rect_Y" data-uid="Terminal.Gui.Rect.Y">Y</h4>
  230. <div class="markdown level1 summary">
  231. Gets or sets the y-coordinate of the upper-left corner of this Rectangle structure.
  232. </div>
  233. <div class="markdown level1 conceptual"></div>
  234. <h5 class="decalaration">Declaration</h5>
  235. <div class="codewrapper">
  236. <pre><code class="lang-csharp hljs">public int Y</code></pre>
  237. </div>
  238. <h5 class="fieldValue">Field Value</h5>
  239. <table class="table table-bordered table-striped table-condensed">
  240. <thead>
  241. <tr>
  242. <th>Type</th>
  243. <th>Description</th>
  244. </tr>
  245. </thead>
  246. <tbody>
  247. <tr>
  248. <td><span class="xref">System.Int32</span></td>
  249. <td></td>
  250. </tr>
  251. </tbody>
  252. </table>
  253. <h3 id="properties">Properties
  254. </h3>
  255. <a id="Terminal_Gui_Rect_Bottom_" data-uid="Terminal.Gui.Rect.Bottom*"></a>
  256. <h4 id="Terminal_Gui_Rect_Bottom" data-uid="Terminal.Gui.Rect.Bottom">Bottom</h4>
  257. <div class="markdown level1 summary">
  258. Bottom Property
  259. </div>
  260. <div class="markdown level1 conceptual"></div>
  261. <h5 class="decalaration">Declaration</h5>
  262. <div class="codewrapper">
  263. <pre><code class="lang-csharp hljs">public int Bottom { get; }</code></pre>
  264. </div>
  265. <h5 class="propertyValue">Property Value</h5>
  266. <table class="table table-bordered table-striped table-condensed">
  267. <thead>
  268. <tr>
  269. <th>Type</th>
  270. <th>Description</th>
  271. </tr>
  272. </thead>
  273. <tbody>
  274. <tr>
  275. <td><span class="xref">System.Int32</span></td>
  276. <td></td>
  277. </tr>
  278. </tbody>
  279. </table>
  280. <h5 id="Terminal_Gui_Rect_Bottom_remarks">Remarks</h5>
  281. <div class="markdown level1 remarks">
  282. The Y coordinate of the bottom edge of the Rectangle.
  283. Read only.
  284. </div>
  285. <a id="Terminal_Gui_Rect_Height_" data-uid="Terminal.Gui.Rect.Height*"></a>
  286. <h4 id="Terminal_Gui_Rect_Height" data-uid="Terminal.Gui.Rect.Height">Height</h4>
  287. <div class="markdown level1 summary">
  288. Gets or sets the height of this Rectangle structure.
  289. </div>
  290. <div class="markdown level1 conceptual"></div>
  291. <h5 class="decalaration">Declaration</h5>
  292. <div class="codewrapper">
  293. <pre><code class="lang-csharp hljs">public int Height { get; set; }</code></pre>
  294. </div>
  295. <h5 class="propertyValue">Property Value</h5>
  296. <table class="table table-bordered table-striped table-condensed">
  297. <thead>
  298. <tr>
  299. <th>Type</th>
  300. <th>Description</th>
  301. </tr>
  302. </thead>
  303. <tbody>
  304. <tr>
  305. <td><span class="xref">System.Int32</span></td>
  306. <td></td>
  307. </tr>
  308. </tbody>
  309. </table>
  310. <a id="Terminal_Gui_Rect_IsEmpty_" data-uid="Terminal.Gui.Rect.IsEmpty*"></a>
  311. <h4 id="Terminal_Gui_Rect_IsEmpty" data-uid="Terminal.Gui.Rect.IsEmpty">IsEmpty</h4>
  312. <div class="markdown level1 summary">
  313. IsEmpty Property
  314. </div>
  315. <div class="markdown level1 conceptual"></div>
  316. <h5 class="decalaration">Declaration</h5>
  317. <div class="codewrapper">
  318. <pre><code class="lang-csharp hljs">public bool IsEmpty { get; }</code></pre>
  319. </div>
  320. <h5 class="propertyValue">Property Value</h5>
  321. <table class="table table-bordered table-striped table-condensed">
  322. <thead>
  323. <tr>
  324. <th>Type</th>
  325. <th>Description</th>
  326. </tr>
  327. </thead>
  328. <tbody>
  329. <tr>
  330. <td><span class="xref">System.Boolean</span></td>
  331. <td></td>
  332. </tr>
  333. </tbody>
  334. </table>
  335. <h5 id="Terminal_Gui_Rect_IsEmpty_remarks">Remarks</h5>
  336. <div class="markdown level1 remarks">
  337. Indicates if the width or height are zero. Read only.
  338. </div>
  339. <a id="Terminal_Gui_Rect_Left_" data-uid="Terminal.Gui.Rect.Left*"></a>
  340. <h4 id="Terminal_Gui_Rect_Left" data-uid="Terminal.Gui.Rect.Left">Left</h4>
  341. <div class="markdown level1 summary">
  342. Left Property
  343. </div>
  344. <div class="markdown level1 conceptual"></div>
  345. <h5 class="decalaration">Declaration</h5>
  346. <div class="codewrapper">
  347. <pre><code class="lang-csharp hljs">public int Left { get; }</code></pre>
  348. </div>
  349. <h5 class="propertyValue">Property Value</h5>
  350. <table class="table table-bordered table-striped table-condensed">
  351. <thead>
  352. <tr>
  353. <th>Type</th>
  354. <th>Description</th>
  355. </tr>
  356. </thead>
  357. <tbody>
  358. <tr>
  359. <td><span class="xref">System.Int32</span></td>
  360. <td></td>
  361. </tr>
  362. </tbody>
  363. </table>
  364. <h5 id="Terminal_Gui_Rect_Left_remarks">Remarks</h5>
  365. <div class="markdown level1 remarks">
  366. The X coordinate of the left edge of the Rectangle.
  367. Read only.
  368. </div>
  369. <a id="Terminal_Gui_Rect_Location_" data-uid="Terminal.Gui.Rect.Location*"></a>
  370. <h4 id="Terminal_Gui_Rect_Location" data-uid="Terminal.Gui.Rect.Location">Location</h4>
  371. <div class="markdown level1 summary">
  372. Location Property
  373. </div>
  374. <div class="markdown level1 conceptual"></div>
  375. <h5 class="decalaration">Declaration</h5>
  376. <div class="codewrapper">
  377. <pre><code class="lang-csharp hljs">public Point Location { get; set; }</code></pre>
  378. </div>
  379. <h5 class="propertyValue">Property Value</h5>
  380. <table class="table table-bordered table-striped table-condensed">
  381. <thead>
  382. <tr>
  383. <th>Type</th>
  384. <th>Description</th>
  385. </tr>
  386. </thead>
  387. <tbody>
  388. <tr>
  389. <td><a class="xref" href="Terminal.Gui.Point.html">Point</a></td>
  390. <td></td>
  391. </tr>
  392. </tbody>
  393. </table>
  394. <h5 id="Terminal_Gui_Rect_Location_remarks">Remarks</h5>
  395. <div class="markdown level1 remarks">
  396. The Location of the top-left corner of the Rectangle.
  397. </div>
  398. <a id="Terminal_Gui_Rect_Right_" data-uid="Terminal.Gui.Rect.Right*"></a>
  399. <h4 id="Terminal_Gui_Rect_Right" data-uid="Terminal.Gui.Rect.Right">Right</h4>
  400. <div class="markdown level1 summary">
  401. Right Property
  402. </div>
  403. <div class="markdown level1 conceptual"></div>
  404. <h5 class="decalaration">Declaration</h5>
  405. <div class="codewrapper">
  406. <pre><code class="lang-csharp hljs">public int Right { get; }</code></pre>
  407. </div>
  408. <h5 class="propertyValue">Property Value</h5>
  409. <table class="table table-bordered table-striped table-condensed">
  410. <thead>
  411. <tr>
  412. <th>Type</th>
  413. <th>Description</th>
  414. </tr>
  415. </thead>
  416. <tbody>
  417. <tr>
  418. <td><span class="xref">System.Int32</span></td>
  419. <td></td>
  420. </tr>
  421. </tbody>
  422. </table>
  423. <h5 id="Terminal_Gui_Rect_Right_remarks">Remarks</h5>
  424. <div class="markdown level1 remarks">
  425. The X coordinate of the right edge of the Rectangle.
  426. Read only.
  427. </div>
  428. <a id="Terminal_Gui_Rect_Size_" data-uid="Terminal.Gui.Rect.Size*"></a>
  429. <h4 id="Terminal_Gui_Rect_Size" data-uid="Terminal.Gui.Rect.Size">Size</h4>
  430. <div class="markdown level1 summary">
  431. Size Property
  432. </div>
  433. <div class="markdown level1 conceptual"></div>
  434. <h5 class="decalaration">Declaration</h5>
  435. <div class="codewrapper">
  436. <pre><code class="lang-csharp hljs">public Size Size { get; set; }</code></pre>
  437. </div>
  438. <h5 class="propertyValue">Property Value</h5>
  439. <table class="table table-bordered table-striped table-condensed">
  440. <thead>
  441. <tr>
  442. <th>Type</th>
  443. <th>Description</th>
  444. </tr>
  445. </thead>
  446. <tbody>
  447. <tr>
  448. <td><a class="xref" href="Terminal.Gui.Size.html">Size</a></td>
  449. <td></td>
  450. </tr>
  451. </tbody>
  452. </table>
  453. <h5 id="Terminal_Gui_Rect_Size_remarks">Remarks</h5>
  454. <div class="markdown level1 remarks">
  455. The Size of the Rectangle.
  456. </div>
  457. <a id="Terminal_Gui_Rect_Top_" data-uid="Terminal.Gui.Rect.Top*"></a>
  458. <h4 id="Terminal_Gui_Rect_Top" data-uid="Terminal.Gui.Rect.Top">Top</h4>
  459. <div class="markdown level1 summary">
  460. Top Property
  461. </div>
  462. <div class="markdown level1 conceptual"></div>
  463. <h5 class="decalaration">Declaration</h5>
  464. <div class="codewrapper">
  465. <pre><code class="lang-csharp hljs">public int Top { get; }</code></pre>
  466. </div>
  467. <h5 class="propertyValue">Property Value</h5>
  468. <table class="table table-bordered table-striped table-condensed">
  469. <thead>
  470. <tr>
  471. <th>Type</th>
  472. <th>Description</th>
  473. </tr>
  474. </thead>
  475. <tbody>
  476. <tr>
  477. <td><span class="xref">System.Int32</span></td>
  478. <td></td>
  479. </tr>
  480. </tbody>
  481. </table>
  482. <h5 id="Terminal_Gui_Rect_Top_remarks">Remarks</h5>
  483. <div class="markdown level1 remarks">
  484. The Y coordinate of the top edge of the Rectangle.
  485. Read only.
  486. </div>
  487. <a id="Terminal_Gui_Rect_Width_" data-uid="Terminal.Gui.Rect.Width*"></a>
  488. <h4 id="Terminal_Gui_Rect_Width" data-uid="Terminal.Gui.Rect.Width">Width</h4>
  489. <div class="markdown level1 summary">
  490. Gets or sets the width of this Rect structure.
  491. </div>
  492. <div class="markdown level1 conceptual"></div>
  493. <h5 class="decalaration">Declaration</h5>
  494. <div class="codewrapper">
  495. <pre><code class="lang-csharp hljs">public int Width { get; set; }</code></pre>
  496. </div>
  497. <h5 class="propertyValue">Property Value</h5>
  498. <table class="table table-bordered table-striped table-condensed">
  499. <thead>
  500. <tr>
  501. <th>Type</th>
  502. <th>Description</th>
  503. </tr>
  504. </thead>
  505. <tbody>
  506. <tr>
  507. <td><span class="xref">System.Int32</span></td>
  508. <td></td>
  509. </tr>
  510. </tbody>
  511. </table>
  512. <h3 id="methods">Methods
  513. </h3>
  514. <a id="Terminal_Gui_Rect_Contains_" data-uid="Terminal.Gui.Rect.Contains*"></a>
  515. <h4 id="Terminal_Gui_Rect_Contains_System_Int32_System_Int32_" data-uid="Terminal.Gui.Rect.Contains(System.Int32,System.Int32)">Contains(Int32, Int32)</h4>
  516. <div class="markdown level1 summary">
  517. Contains Method
  518. </div>
  519. <div class="markdown level1 conceptual"></div>
  520. <h5 class="decalaration">Declaration</h5>
  521. <div class="codewrapper">
  522. <pre><code class="lang-csharp hljs">public bool Contains(int x, int y)</code></pre>
  523. </div>
  524. <h5 class="parameters">Parameters</h5>
  525. <table class="table table-bordered table-striped table-condensed">
  526. <thead>
  527. <tr>
  528. <th>Type</th>
  529. <th>Name</th>
  530. <th>Description</th>
  531. </tr>
  532. </thead>
  533. <tbody>
  534. <tr>
  535. <td><span class="xref">System.Int32</span></td>
  536. <td><span class="parametername">x</span></td>
  537. <td></td>
  538. </tr>
  539. <tr>
  540. <td><span class="xref">System.Int32</span></td>
  541. <td><span class="parametername">y</span></td>
  542. <td></td>
  543. </tr>
  544. </tbody>
  545. </table>
  546. <h5 class="returns">Returns</h5>
  547. <table class="table table-bordered table-striped table-condensed">
  548. <thead>
  549. <tr>
  550. <th>Type</th>
  551. <th>Description</th>
  552. </tr>
  553. </thead>
  554. <tbody>
  555. <tr>
  556. <td><span class="xref">System.Boolean</span></td>
  557. <td></td>
  558. </tr>
  559. </tbody>
  560. </table>
  561. <h5 id="Terminal_Gui_Rect_Contains_System_Int32_System_Int32__remarks">Remarks</h5>
  562. <div class="markdown level1 remarks">
  563. Checks if an x,y coordinate lies within this Rectangle.
  564. </div>
  565. <a id="Terminal_Gui_Rect_Contains_" data-uid="Terminal.Gui.Rect.Contains*"></a>
  566. <h4 id="Terminal_Gui_Rect_Contains_Terminal_Gui_Point_" data-uid="Terminal.Gui.Rect.Contains(Terminal.Gui.Point)">Contains(Point)</h4>
  567. <div class="markdown level1 summary">
  568. Contains Method
  569. </div>
  570. <div class="markdown level1 conceptual"></div>
  571. <h5 class="decalaration">Declaration</h5>
  572. <div class="codewrapper">
  573. <pre><code class="lang-csharp hljs">public bool Contains(Point pt)</code></pre>
  574. </div>
  575. <h5 class="parameters">Parameters</h5>
  576. <table class="table table-bordered table-striped table-condensed">
  577. <thead>
  578. <tr>
  579. <th>Type</th>
  580. <th>Name</th>
  581. <th>Description</th>
  582. </tr>
  583. </thead>
  584. <tbody>
  585. <tr>
  586. <td><a class="xref" href="Terminal.Gui.Point.html">Point</a></td>
  587. <td><span class="parametername">pt</span></td>
  588. <td></td>
  589. </tr>
  590. </tbody>
  591. </table>
  592. <h5 class="returns">Returns</h5>
  593. <table class="table table-bordered table-striped table-condensed">
  594. <thead>
  595. <tr>
  596. <th>Type</th>
  597. <th>Description</th>
  598. </tr>
  599. </thead>
  600. <tbody>
  601. <tr>
  602. <td><span class="xref">System.Boolean</span></td>
  603. <td></td>
  604. </tr>
  605. </tbody>
  606. </table>
  607. <h5 id="Terminal_Gui_Rect_Contains_Terminal_Gui_Point__remarks">Remarks</h5>
  608. <div class="markdown level1 remarks">
  609. Checks if a Point lies within this Rectangle.
  610. </div>
  611. <a id="Terminal_Gui_Rect_Contains_" data-uid="Terminal.Gui.Rect.Contains*"></a>
  612. <h4 id="Terminal_Gui_Rect_Contains_Terminal_Gui_Rect_" data-uid="Terminal.Gui.Rect.Contains(Terminal.Gui.Rect)">Contains(Rect)</h4>
  613. <div class="markdown level1 summary">
  614. Contains Method
  615. </div>
  616. <div class="markdown level1 conceptual"></div>
  617. <h5 class="decalaration">Declaration</h5>
  618. <div class="codewrapper">
  619. <pre><code class="lang-csharp hljs">public bool Contains(Rect rect)</code></pre>
  620. </div>
  621. <h5 class="parameters">Parameters</h5>
  622. <table class="table table-bordered table-striped table-condensed">
  623. <thead>
  624. <tr>
  625. <th>Type</th>
  626. <th>Name</th>
  627. <th>Description</th>
  628. </tr>
  629. </thead>
  630. <tbody>
  631. <tr>
  632. <td><a class="xref" href="Terminal.Gui.Rect.html">Rect</a></td>
  633. <td><span class="parametername">rect</span></td>
  634. <td></td>
  635. </tr>
  636. </tbody>
  637. </table>
  638. <h5 class="returns">Returns</h5>
  639. <table class="table table-bordered table-striped table-condensed">
  640. <thead>
  641. <tr>
  642. <th>Type</th>
  643. <th>Description</th>
  644. </tr>
  645. </thead>
  646. <tbody>
  647. <tr>
  648. <td><span class="xref">System.Boolean</span></td>
  649. <td></td>
  650. </tr>
  651. </tbody>
  652. </table>
  653. <h5 id="Terminal_Gui_Rect_Contains_Terminal_Gui_Rect__remarks">Remarks</h5>
  654. <div class="markdown level1 remarks">
  655. Checks if a Rectangle lies entirely within this
  656. Rectangle.
  657. </div>
  658. <a id="Terminal_Gui_Rect_Equals_" data-uid="Terminal.Gui.Rect.Equals*"></a>
  659. <h4 id="Terminal_Gui_Rect_Equals_System_Object_" data-uid="Terminal.Gui.Rect.Equals(System.Object)">Equals(Object)</h4>
  660. <div class="markdown level1 summary">
  661. Equals Method
  662. </div>
  663. <div class="markdown level1 conceptual"></div>
  664. <h5 class="decalaration">Declaration</h5>
  665. <div class="codewrapper">
  666. <pre><code class="lang-csharp hljs">public override bool Equals(object obj)</code></pre>
  667. </div>
  668. <h5 class="parameters">Parameters</h5>
  669. <table class="table table-bordered table-striped table-condensed">
  670. <thead>
  671. <tr>
  672. <th>Type</th>
  673. <th>Name</th>
  674. <th>Description</th>
  675. </tr>
  676. </thead>
  677. <tbody>
  678. <tr>
  679. <td><span class="xref">System.Object</span></td>
  680. <td><span class="parametername">obj</span></td>
  681. <td></td>
  682. </tr>
  683. </tbody>
  684. </table>
  685. <h5 class="returns">Returns</h5>
  686. <table class="table table-bordered table-striped table-condensed">
  687. <thead>
  688. <tr>
  689. <th>Type</th>
  690. <th>Description</th>
  691. </tr>
  692. </thead>
  693. <tbody>
  694. <tr>
  695. <td><span class="xref">System.Boolean</span></td>
  696. <td></td>
  697. </tr>
  698. </tbody>
  699. </table>
  700. <h5 id="Terminal_Gui_Rect_Equals_System_Object__remarks">Remarks</h5>
  701. <div class="markdown level1 remarks">
  702. Checks equivalence of this Rectangle and another object.
  703. </div>
  704. <a id="Terminal_Gui_Rect_FromLTRB_" data-uid="Terminal.Gui.Rect.FromLTRB*"></a>
  705. <h4 id="Terminal_Gui_Rect_FromLTRB_System_Int32_System_Int32_System_Int32_System_Int32_" data-uid="Terminal.Gui.Rect.FromLTRB(System.Int32,System.Int32,System.Int32,System.Int32)">FromLTRB(Int32, Int32, Int32, Int32)</h4>
  706. <div class="markdown level1 summary">
  707. FromLTRB Shared Method
  708. </div>
  709. <div class="markdown level1 conceptual"></div>
  710. <h5 class="decalaration">Declaration</h5>
  711. <div class="codewrapper">
  712. <pre><code class="lang-csharp hljs">public static Rect FromLTRB(int left, int top, int right, int bottom)</code></pre>
  713. </div>
  714. <h5 class="parameters">Parameters</h5>
  715. <table class="table table-bordered table-striped table-condensed">
  716. <thead>
  717. <tr>
  718. <th>Type</th>
  719. <th>Name</th>
  720. <th>Description</th>
  721. </tr>
  722. </thead>
  723. <tbody>
  724. <tr>
  725. <td><span class="xref">System.Int32</span></td>
  726. <td><span class="parametername">left</span></td>
  727. <td></td>
  728. </tr>
  729. <tr>
  730. <td><span class="xref">System.Int32</span></td>
  731. <td><span class="parametername">top</span></td>
  732. <td></td>
  733. </tr>
  734. <tr>
  735. <td><span class="xref">System.Int32</span></td>
  736. <td><span class="parametername">right</span></td>
  737. <td></td>
  738. </tr>
  739. <tr>
  740. <td><span class="xref">System.Int32</span></td>
  741. <td><span class="parametername">bottom</span></td>
  742. <td></td>
  743. </tr>
  744. </tbody>
  745. </table>
  746. <h5 class="returns">Returns</h5>
  747. <table class="table table-bordered table-striped table-condensed">
  748. <thead>
  749. <tr>
  750. <th>Type</th>
  751. <th>Description</th>
  752. </tr>
  753. </thead>
  754. <tbody>
  755. <tr>
  756. <td><a class="xref" href="Terminal.Gui.Rect.html">Rect</a></td>
  757. <td></td>
  758. </tr>
  759. </tbody>
  760. </table>
  761. <h5 id="Terminal_Gui_Rect_FromLTRB_System_Int32_System_Int32_System_Int32_System_Int32__remarks">Remarks</h5>
  762. <div class="markdown level1 remarks">
  763. Produces a Rectangle structure from left, top, right
  764. and bottom coordinates.
  765. </div>
  766. <a id="Terminal_Gui_Rect_GetHashCode_" data-uid="Terminal.Gui.Rect.GetHashCode*"></a>
  767. <h4 id="Terminal_Gui_Rect_GetHashCode" data-uid="Terminal.Gui.Rect.GetHashCode">GetHashCode()</h4>
  768. <div class="markdown level1 summary">
  769. GetHashCode Method
  770. </div>
  771. <div class="markdown level1 conceptual"></div>
  772. <h5 class="decalaration">Declaration</h5>
  773. <div class="codewrapper">
  774. <pre><code class="lang-csharp hljs">public override int GetHashCode()</code></pre>
  775. </div>
  776. <h5 class="returns">Returns</h5>
  777. <table class="table table-bordered table-striped table-condensed">
  778. <thead>
  779. <tr>
  780. <th>Type</th>
  781. <th>Description</th>
  782. </tr>
  783. </thead>
  784. <tbody>
  785. <tr>
  786. <td><span class="xref">System.Int32</span></td>
  787. <td></td>
  788. </tr>
  789. </tbody>
  790. </table>
  791. <h5 id="Terminal_Gui_Rect_GetHashCode_remarks">Remarks</h5>
  792. <div class="markdown level1 remarks">
  793. Calculates a hashing value.
  794. </div>
  795. <a id="Terminal_Gui_Rect_Inflate_" data-uid="Terminal.Gui.Rect.Inflate*"></a>
  796. <h4 id="Terminal_Gui_Rect_Inflate_System_Int32_System_Int32_" data-uid="Terminal.Gui.Rect.Inflate(System.Int32,System.Int32)">Inflate(Int32, Int32)</h4>
  797. <div class="markdown level1 summary">
  798. Inflate Method
  799. </div>
  800. <div class="markdown level1 conceptual"></div>
  801. <h5 class="decalaration">Declaration</h5>
  802. <div class="codewrapper">
  803. <pre><code class="lang-csharp hljs">public void Inflate(int width, int height)</code></pre>
  804. </div>
  805. <h5 class="parameters">Parameters</h5>
  806. <table class="table table-bordered table-striped table-condensed">
  807. <thead>
  808. <tr>
  809. <th>Type</th>
  810. <th>Name</th>
  811. <th>Description</th>
  812. </tr>
  813. </thead>
  814. <tbody>
  815. <tr>
  816. <td><span class="xref">System.Int32</span></td>
  817. <td><span class="parametername">width</span></td>
  818. <td></td>
  819. </tr>
  820. <tr>
  821. <td><span class="xref">System.Int32</span></td>
  822. <td><span class="parametername">height</span></td>
  823. <td></td>
  824. </tr>
  825. </tbody>
  826. </table>
  827. <h5 id="Terminal_Gui_Rect_Inflate_System_Int32_System_Int32__remarks">Remarks</h5>
  828. <div class="markdown level1 remarks">
  829. Inflates the Rectangle by a specified width and height.
  830. </div>
  831. <a id="Terminal_Gui_Rect_Inflate_" data-uid="Terminal.Gui.Rect.Inflate*"></a>
  832. <h4 id="Terminal_Gui_Rect_Inflate_Terminal_Gui_Rect_System_Int32_System_Int32_" data-uid="Terminal.Gui.Rect.Inflate(Terminal.Gui.Rect,System.Int32,System.Int32)">Inflate(Rect, Int32, Int32)</h4>
  833. <div class="markdown level1 summary">
  834. Inflate Shared Method
  835. </div>
  836. <div class="markdown level1 conceptual"></div>
  837. <h5 class="decalaration">Declaration</h5>
  838. <div class="codewrapper">
  839. <pre><code class="lang-csharp hljs">public static Rect Inflate(Rect rect, int x, int y)</code></pre>
  840. </div>
  841. <h5 class="parameters">Parameters</h5>
  842. <table class="table table-bordered table-striped table-condensed">
  843. <thead>
  844. <tr>
  845. <th>Type</th>
  846. <th>Name</th>
  847. <th>Description</th>
  848. </tr>
  849. </thead>
  850. <tbody>
  851. <tr>
  852. <td><a class="xref" href="Terminal.Gui.Rect.html">Rect</a></td>
  853. <td><span class="parametername">rect</span></td>
  854. <td></td>
  855. </tr>
  856. <tr>
  857. <td><span class="xref">System.Int32</span></td>
  858. <td><span class="parametername">x</span></td>
  859. <td></td>
  860. </tr>
  861. <tr>
  862. <td><span class="xref">System.Int32</span></td>
  863. <td><span class="parametername">y</span></td>
  864. <td></td>
  865. </tr>
  866. </tbody>
  867. </table>
  868. <h5 class="returns">Returns</h5>
  869. <table class="table table-bordered table-striped table-condensed">
  870. <thead>
  871. <tr>
  872. <th>Type</th>
  873. <th>Description</th>
  874. </tr>
  875. </thead>
  876. <tbody>
  877. <tr>
  878. <td><a class="xref" href="Terminal.Gui.Rect.html">Rect</a></td>
  879. <td></td>
  880. </tr>
  881. </tbody>
  882. </table>
  883. <h5 id="Terminal_Gui_Rect_Inflate_Terminal_Gui_Rect_System_Int32_System_Int32__remarks">Remarks</h5>
  884. <div class="markdown level1 remarks">
  885. Produces a new Rectangle by inflating an existing
  886. Rectangle by the specified coordinate values.
  887. </div>
  888. <a id="Terminal_Gui_Rect_Inflate_" data-uid="Terminal.Gui.Rect.Inflate*"></a>
  889. <h4 id="Terminal_Gui_Rect_Inflate_Terminal_Gui_Size_" data-uid="Terminal.Gui.Rect.Inflate(Terminal.Gui.Size)">Inflate(Size)</h4>
  890. <div class="markdown level1 summary">
  891. Inflate Method
  892. </div>
  893. <div class="markdown level1 conceptual"></div>
  894. <h5 class="decalaration">Declaration</h5>
  895. <div class="codewrapper">
  896. <pre><code class="lang-csharp hljs">public void Inflate(Size size)</code></pre>
  897. </div>
  898. <h5 class="parameters">Parameters</h5>
  899. <table class="table table-bordered table-striped table-condensed">
  900. <thead>
  901. <tr>
  902. <th>Type</th>
  903. <th>Name</th>
  904. <th>Description</th>
  905. </tr>
  906. </thead>
  907. <tbody>
  908. <tr>
  909. <td><a class="xref" href="Terminal.Gui.Size.html">Size</a></td>
  910. <td><span class="parametername">size</span></td>
  911. <td></td>
  912. </tr>
  913. </tbody>
  914. </table>
  915. <h5 id="Terminal_Gui_Rect_Inflate_Terminal_Gui_Size__remarks">Remarks</h5>
  916. <div class="markdown level1 remarks">
  917. Inflates the Rectangle by a specified Size.
  918. </div>
  919. <a id="Terminal_Gui_Rect_Intersect_" data-uid="Terminal.Gui.Rect.Intersect*"></a>
  920. <h4 id="Terminal_Gui_Rect_Intersect_Terminal_Gui_Rect_" data-uid="Terminal.Gui.Rect.Intersect(Terminal.Gui.Rect)">Intersect(Rect)</h4>
  921. <div class="markdown level1 summary">
  922. Intersect Method
  923. </div>
  924. <div class="markdown level1 conceptual"></div>
  925. <h5 class="decalaration">Declaration</h5>
  926. <div class="codewrapper">
  927. <pre><code class="lang-csharp hljs">public void Intersect(Rect rect)</code></pre>
  928. </div>
  929. <h5 class="parameters">Parameters</h5>
  930. <table class="table table-bordered table-striped table-condensed">
  931. <thead>
  932. <tr>
  933. <th>Type</th>
  934. <th>Name</th>
  935. <th>Description</th>
  936. </tr>
  937. </thead>
  938. <tbody>
  939. <tr>
  940. <td><a class="xref" href="Terminal.Gui.Rect.html">Rect</a></td>
  941. <td><span class="parametername">rect</span></td>
  942. <td></td>
  943. </tr>
  944. </tbody>
  945. </table>
  946. <h5 id="Terminal_Gui_Rect_Intersect_Terminal_Gui_Rect__remarks">Remarks</h5>
  947. <div class="markdown level1 remarks">
  948. Replaces the Rectangle with the intersection of itself
  949. and another Rectangle.
  950. </div>
  951. <a id="Terminal_Gui_Rect_Intersect_" data-uid="Terminal.Gui.Rect.Intersect*"></a>
  952. <h4 id="Terminal_Gui_Rect_Intersect_Terminal_Gui_Rect_Terminal_Gui_Rect_" data-uid="Terminal.Gui.Rect.Intersect(Terminal.Gui.Rect,Terminal.Gui.Rect)">Intersect(Rect, Rect)</h4>
  953. <div class="markdown level1 summary">
  954. Intersect Shared Method
  955. </div>
  956. <div class="markdown level1 conceptual"></div>
  957. <h5 class="decalaration">Declaration</h5>
  958. <div class="codewrapper">
  959. <pre><code class="lang-csharp hljs">public static Rect Intersect(Rect a, Rect b)</code></pre>
  960. </div>
  961. <h5 class="parameters">Parameters</h5>
  962. <table class="table table-bordered table-striped table-condensed">
  963. <thead>
  964. <tr>
  965. <th>Type</th>
  966. <th>Name</th>
  967. <th>Description</th>
  968. </tr>
  969. </thead>
  970. <tbody>
  971. <tr>
  972. <td><a class="xref" href="Terminal.Gui.Rect.html">Rect</a></td>
  973. <td><span class="parametername">a</span></td>
  974. <td></td>
  975. </tr>
  976. <tr>
  977. <td><a class="xref" href="Terminal.Gui.Rect.html">Rect</a></td>
  978. <td><span class="parametername">b</span></td>
  979. <td></td>
  980. </tr>
  981. </tbody>
  982. </table>
  983. <h5 class="returns">Returns</h5>
  984. <table class="table table-bordered table-striped table-condensed">
  985. <thead>
  986. <tr>
  987. <th>Type</th>
  988. <th>Description</th>
  989. </tr>
  990. </thead>
  991. <tbody>
  992. <tr>
  993. <td><a class="xref" href="Terminal.Gui.Rect.html">Rect</a></td>
  994. <td></td>
  995. </tr>
  996. </tbody>
  997. </table>
  998. <h5 id="Terminal_Gui_Rect_Intersect_Terminal_Gui_Rect_Terminal_Gui_Rect__remarks">Remarks</h5>
  999. <div class="markdown level1 remarks">
  1000. Produces a new Rectangle by intersecting 2 existing
  1001. Rectangles. Returns null if there is no intersection.
  1002. </div>
  1003. <a id="Terminal_Gui_Rect_IntersectsWith_" data-uid="Terminal.Gui.Rect.IntersectsWith*"></a>
  1004. <h4 id="Terminal_Gui_Rect_IntersectsWith_Terminal_Gui_Rect_" data-uid="Terminal.Gui.Rect.IntersectsWith(Terminal.Gui.Rect)">IntersectsWith(Rect)</h4>
  1005. <div class="markdown level1 summary">
  1006. IntersectsWith Method
  1007. </div>
  1008. <div class="markdown level1 conceptual"></div>
  1009. <h5 class="decalaration">Declaration</h5>
  1010. <div class="codewrapper">
  1011. <pre><code class="lang-csharp hljs">public bool IntersectsWith(Rect rect)</code></pre>
  1012. </div>
  1013. <h5 class="parameters">Parameters</h5>
  1014. <table class="table table-bordered table-striped table-condensed">
  1015. <thead>
  1016. <tr>
  1017. <th>Type</th>
  1018. <th>Name</th>
  1019. <th>Description</th>
  1020. </tr>
  1021. </thead>
  1022. <tbody>
  1023. <tr>
  1024. <td><a class="xref" href="Terminal.Gui.Rect.html">Rect</a></td>
  1025. <td><span class="parametername">rect</span></td>
  1026. <td></td>
  1027. </tr>
  1028. </tbody>
  1029. </table>
  1030. <h5 class="returns">Returns</h5>
  1031. <table class="table table-bordered table-striped table-condensed">
  1032. <thead>
  1033. <tr>
  1034. <th>Type</th>
  1035. <th>Description</th>
  1036. </tr>
  1037. </thead>
  1038. <tbody>
  1039. <tr>
  1040. <td><span class="xref">System.Boolean</span></td>
  1041. <td></td>
  1042. </tr>
  1043. </tbody>
  1044. </table>
  1045. <h5 id="Terminal_Gui_Rect_IntersectsWith_Terminal_Gui_Rect__remarks">Remarks</h5>
  1046. <div class="markdown level1 remarks">
  1047. Checks if a Rectangle intersects with this one.
  1048. </div>
  1049. <a id="Terminal_Gui_Rect_Offset_" data-uid="Terminal.Gui.Rect.Offset*"></a>
  1050. <h4 id="Terminal_Gui_Rect_Offset_System_Int32_System_Int32_" data-uid="Terminal.Gui.Rect.Offset(System.Int32,System.Int32)">Offset(Int32, Int32)</h4>
  1051. <div class="markdown level1 summary">
  1052. Offset Method
  1053. </div>
  1054. <div class="markdown level1 conceptual"></div>
  1055. <h5 class="decalaration">Declaration</h5>
  1056. <div class="codewrapper">
  1057. <pre><code class="lang-csharp hljs">public void Offset(int x, int y)</code></pre>
  1058. </div>
  1059. <h5 class="parameters">Parameters</h5>
  1060. <table class="table table-bordered table-striped table-condensed">
  1061. <thead>
  1062. <tr>
  1063. <th>Type</th>
  1064. <th>Name</th>
  1065. <th>Description</th>
  1066. </tr>
  1067. </thead>
  1068. <tbody>
  1069. <tr>
  1070. <td><span class="xref">System.Int32</span></td>
  1071. <td><span class="parametername">x</span></td>
  1072. <td></td>
  1073. </tr>
  1074. <tr>
  1075. <td><span class="xref">System.Int32</span></td>
  1076. <td><span class="parametername">y</span></td>
  1077. <td></td>
  1078. </tr>
  1079. </tbody>
  1080. </table>
  1081. <h5 id="Terminal_Gui_Rect_Offset_System_Int32_System_Int32__remarks">Remarks</h5>
  1082. <div class="markdown level1 remarks">
  1083. Moves the Rectangle a specified distance.
  1084. </div>
  1085. <a id="Terminal_Gui_Rect_Offset_" data-uid="Terminal.Gui.Rect.Offset*"></a>
  1086. <h4 id="Terminal_Gui_Rect_Offset_Terminal_Gui_Point_" data-uid="Terminal.Gui.Rect.Offset(Terminal.Gui.Point)">Offset(Point)</h4>
  1087. <div class="markdown level1 summary">
  1088. Offset Method
  1089. </div>
  1090. <div class="markdown level1 conceptual"></div>
  1091. <h5 class="decalaration">Declaration</h5>
  1092. <div class="codewrapper">
  1093. <pre><code class="lang-csharp hljs">public void Offset(Point pos)</code></pre>
  1094. </div>
  1095. <h5 class="parameters">Parameters</h5>
  1096. <table class="table table-bordered table-striped table-condensed">
  1097. <thead>
  1098. <tr>
  1099. <th>Type</th>
  1100. <th>Name</th>
  1101. <th>Description</th>
  1102. </tr>
  1103. </thead>
  1104. <tbody>
  1105. <tr>
  1106. <td><a class="xref" href="Terminal.Gui.Point.html">Point</a></td>
  1107. <td><span class="parametername">pos</span></td>
  1108. <td></td>
  1109. </tr>
  1110. </tbody>
  1111. </table>
  1112. <h5 id="Terminal_Gui_Rect_Offset_Terminal_Gui_Point__remarks">Remarks</h5>
  1113. <div class="markdown level1 remarks">
  1114. Moves the Rectangle a specified distance.
  1115. </div>
  1116. <a id="Terminal_Gui_Rect_ToString_" data-uid="Terminal.Gui.Rect.ToString*"></a>
  1117. <h4 id="Terminal_Gui_Rect_ToString" data-uid="Terminal.Gui.Rect.ToString">ToString()</h4>
  1118. <div class="markdown level1 summary">
  1119. ToString Method
  1120. </div>
  1121. <div class="markdown level1 conceptual"></div>
  1122. <h5 class="decalaration">Declaration</h5>
  1123. <div class="codewrapper">
  1124. <pre><code class="lang-csharp hljs">public override string ToString()</code></pre>
  1125. </div>
  1126. <h5 class="returns">Returns</h5>
  1127. <table class="table table-bordered table-striped table-condensed">
  1128. <thead>
  1129. <tr>
  1130. <th>Type</th>
  1131. <th>Description</th>
  1132. </tr>
  1133. </thead>
  1134. <tbody>
  1135. <tr>
  1136. <td><span class="xref">System.String</span></td>
  1137. <td></td>
  1138. </tr>
  1139. </tbody>
  1140. </table>
  1141. <h5 id="Terminal_Gui_Rect_ToString_remarks">Remarks</h5>
  1142. <div class="markdown level1 remarks">
  1143. Formats the Rectangle as a string in (x,y,w,h) notation.
  1144. </div>
  1145. <a id="Terminal_Gui_Rect_Union_" data-uid="Terminal.Gui.Rect.Union*"></a>
  1146. <h4 id="Terminal_Gui_Rect_Union_Terminal_Gui_Rect_Terminal_Gui_Rect_" data-uid="Terminal.Gui.Rect.Union(Terminal.Gui.Rect,Terminal.Gui.Rect)">Union(Rect, Rect)</h4>
  1147. <div class="markdown level1 summary">
  1148. Union Shared Method
  1149. </div>
  1150. <div class="markdown level1 conceptual"></div>
  1151. <h5 class="decalaration">Declaration</h5>
  1152. <div class="codewrapper">
  1153. <pre><code class="lang-csharp hljs">public static Rect Union(Rect a, Rect b)</code></pre>
  1154. </div>
  1155. <h5 class="parameters">Parameters</h5>
  1156. <table class="table table-bordered table-striped table-condensed">
  1157. <thead>
  1158. <tr>
  1159. <th>Type</th>
  1160. <th>Name</th>
  1161. <th>Description</th>
  1162. </tr>
  1163. </thead>
  1164. <tbody>
  1165. <tr>
  1166. <td><a class="xref" href="Terminal.Gui.Rect.html">Rect</a></td>
  1167. <td><span class="parametername">a</span></td>
  1168. <td></td>
  1169. </tr>
  1170. <tr>
  1171. <td><a class="xref" href="Terminal.Gui.Rect.html">Rect</a></td>
  1172. <td><span class="parametername">b</span></td>
  1173. <td></td>
  1174. </tr>
  1175. </tbody>
  1176. </table>
  1177. <h5 class="returns">Returns</h5>
  1178. <table class="table table-bordered table-striped table-condensed">
  1179. <thead>
  1180. <tr>
  1181. <th>Type</th>
  1182. <th>Description</th>
  1183. </tr>
  1184. </thead>
  1185. <tbody>
  1186. <tr>
  1187. <td><a class="xref" href="Terminal.Gui.Rect.html">Rect</a></td>
  1188. <td></td>
  1189. </tr>
  1190. </tbody>
  1191. </table>
  1192. <h5 id="Terminal_Gui_Rect_Union_Terminal_Gui_Rect_Terminal_Gui_Rect__remarks">Remarks</h5>
  1193. <div class="markdown level1 remarks">
  1194. Produces a new Rectangle from the union of 2 existing
  1195. Rectangles.
  1196. </div>
  1197. <h3 id="operators">Operators
  1198. </h3>
  1199. <a id="Terminal_Gui_Rect_op_Equality_" data-uid="Terminal.Gui.Rect.op_Equality*"></a>
  1200. <h4 id="Terminal_Gui_Rect_op_Equality_Terminal_Gui_Rect_Terminal_Gui_Rect_" data-uid="Terminal.Gui.Rect.op_Equality(Terminal.Gui.Rect,Terminal.Gui.Rect)">Equality(Rect, Rect)</h4>
  1201. <div class="markdown level1 summary">
  1202. Equality Operator
  1203. </div>
  1204. <div class="markdown level1 conceptual"></div>
  1205. <h5 class="decalaration">Declaration</h5>
  1206. <div class="codewrapper">
  1207. <pre><code class="lang-csharp hljs">public static bool operator ==(Rect left, Rect right)</code></pre>
  1208. </div>
  1209. <h5 class="parameters">Parameters</h5>
  1210. <table class="table table-bordered table-striped table-condensed">
  1211. <thead>
  1212. <tr>
  1213. <th>Type</th>
  1214. <th>Name</th>
  1215. <th>Description</th>
  1216. </tr>
  1217. </thead>
  1218. <tbody>
  1219. <tr>
  1220. <td><a class="xref" href="Terminal.Gui.Rect.html">Rect</a></td>
  1221. <td><span class="parametername">left</span></td>
  1222. <td></td>
  1223. </tr>
  1224. <tr>
  1225. <td><a class="xref" href="Terminal.Gui.Rect.html">Rect</a></td>
  1226. <td><span class="parametername">right</span></td>
  1227. <td></td>
  1228. </tr>
  1229. </tbody>
  1230. </table>
  1231. <h5 class="returns">Returns</h5>
  1232. <table class="table table-bordered table-striped table-condensed">
  1233. <thead>
  1234. <tr>
  1235. <th>Type</th>
  1236. <th>Description</th>
  1237. </tr>
  1238. </thead>
  1239. <tbody>
  1240. <tr>
  1241. <td><span class="xref">System.Boolean</span></td>
  1242. <td></td>
  1243. </tr>
  1244. </tbody>
  1245. </table>
  1246. <h5 id="Terminal_Gui_Rect_op_Equality_Terminal_Gui_Rect_Terminal_Gui_Rect__remarks">Remarks</h5>
  1247. <div class="markdown level1 remarks">
  1248. Compares two Rectangle objects. The return value is
  1249. based on the equivalence of the Location and Size
  1250. properties of the two Rectangles.
  1251. </div>
  1252. <a id="Terminal_Gui_Rect_op_Inequality_" data-uid="Terminal.Gui.Rect.op_Inequality*"></a>
  1253. <h4 id="Terminal_Gui_Rect_op_Inequality_Terminal_Gui_Rect_Terminal_Gui_Rect_" data-uid="Terminal.Gui.Rect.op_Inequality(Terminal.Gui.Rect,Terminal.Gui.Rect)">Inequality(Rect, Rect)</h4>
  1254. <div class="markdown level1 summary">
  1255. Inequality Operator
  1256. </div>
  1257. <div class="markdown level1 conceptual"></div>
  1258. <h5 class="decalaration">Declaration</h5>
  1259. <div class="codewrapper">
  1260. <pre><code class="lang-csharp hljs">public static bool operator !=(Rect left, Rect right)</code></pre>
  1261. </div>
  1262. <h5 class="parameters">Parameters</h5>
  1263. <table class="table table-bordered table-striped table-condensed">
  1264. <thead>
  1265. <tr>
  1266. <th>Type</th>
  1267. <th>Name</th>
  1268. <th>Description</th>
  1269. </tr>
  1270. </thead>
  1271. <tbody>
  1272. <tr>
  1273. <td><a class="xref" href="Terminal.Gui.Rect.html">Rect</a></td>
  1274. <td><span class="parametername">left</span></td>
  1275. <td></td>
  1276. </tr>
  1277. <tr>
  1278. <td><a class="xref" href="Terminal.Gui.Rect.html">Rect</a></td>
  1279. <td><span class="parametername">right</span></td>
  1280. <td></td>
  1281. </tr>
  1282. </tbody>
  1283. </table>
  1284. <h5 class="returns">Returns</h5>
  1285. <table class="table table-bordered table-striped table-condensed">
  1286. <thead>
  1287. <tr>
  1288. <th>Type</th>
  1289. <th>Description</th>
  1290. </tr>
  1291. </thead>
  1292. <tbody>
  1293. <tr>
  1294. <td><span class="xref">System.Boolean</span></td>
  1295. <td></td>
  1296. </tr>
  1297. </tbody>
  1298. </table>
  1299. <h5 id="Terminal_Gui_Rect_op_Inequality_Terminal_Gui_Rect_Terminal_Gui_Rect__remarks">Remarks</h5>
  1300. <div class="markdown level1 remarks">
  1301. Compares two Rectangle objects. The return value is
  1302. based on the equivalence of the Location and Size
  1303. properties of the two Rectangles.
  1304. </div>
  1305. </article>
  1306. </div>
  1307. <div class="hidden-sm col-md-2" role="complementary">
  1308. <div class="sideaffix">
  1309. <nav class="bs-docs-sidebar hidden-print hidden-xs hidden-sm affix" id="affix">
  1310. <h5>In This Article</h5>
  1311. <div></div>
  1312. </nav>
  1313. </div>
  1314. </div>
  1315. </div>
  1316. </div>
  1317. <footer>
  1318. <div class="grad-bottom"></div>
  1319. <div class="footer">
  1320. <div class="container">
  1321. <span class="pull-right">
  1322. <a href="#top">Back to top</a>
  1323. </span>
  1324. <span>Generated by <strong>DocFX</strong></span>
  1325. </div>
  1326. </div>
  1327. </footer>
  1328. </div>
  1329. <script type="text/javascript" src="../../styles/docfx.vendor.js"></script>
  1330. <script type="text/javascript" src="../../styles/docfx.js"></script>
  1331. <script type="text/javascript" src="../../styles/main.js"></script>
  1332. </body>
  1333. </html>