Terminal.Gui.Rect.html 45 KB

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