Terminal.Gui.Size.html 27 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822
  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 Size
  8. </title>
  9. <meta name="viewport" content="width=device-width">
  10. <meta name="title" content="Struct Size
  11. ">
  12. <meta name="generator" content="docfx 2.53.1.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="">
  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.Size">
  73. <h1 id="Terminal_Gui_Size" data-uid="Terminal.Gui.Size" class="text-break">Struct Size
  74. </h1>
  75. <div class="markdown level0 summary">
  76. Stores an ordered pair of integers, which specify a Height and Width.
  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_Size_syntax">Syntax</h5>
  94. <div class="codewrapper">
  95. <pre><code class="lang-csharp hljs">public struct Size</code></pre>
  96. </div>
  97. <h3 id="constructors">Constructors
  98. </h3>
  99. <a id="Terminal_Gui_Size__ctor_" data-uid="Terminal.Gui.Size.#ctor*"></a>
  100. <h4 id="Terminal_Gui_Size__ctor_System_Int32_System_Int32_" data-uid="Terminal.Gui.Size.#ctor(System.Int32,System.Int32)">Size(Int32, Int32)</h4>
  101. <div class="markdown level1 summary">
  102. Size 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 Size(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">width</span></td>
  122. <td></td>
  123. </tr>
  124. <tr>
  125. <td><span class="xref">System.Int32</span></td>
  126. <td><span class="parametername">height</span></td>
  127. <td></td>
  128. </tr>
  129. </tbody>
  130. </table>
  131. <h5 id="Terminal_Gui_Size__ctor_System_Int32_System_Int32__remarks">Remarks</h5>
  132. <div class="markdown level1 remarks">
  133. Creates a Size from specified dimensions.
  134. </div>
  135. <a id="Terminal_Gui_Size__ctor_" data-uid="Terminal.Gui.Size.#ctor*"></a>
  136. <h4 id="Terminal_Gui_Size__ctor_Terminal_Gui_Point_" data-uid="Terminal.Gui.Size.#ctor(Terminal.Gui.Point)">Size(Point)</h4>
  137. <div class="markdown level1 summary">
  138. Size Constructor
  139. </div>
  140. <div class="markdown level1 conceptual"></div>
  141. <h5 class="decalaration">Declaration</h5>
  142. <div class="codewrapper">
  143. <pre><code class="lang-csharp hljs">public Size(Point pt)</code></pre>
  144. </div>
  145. <h5 class="parameters">Parameters</h5>
  146. <table class="table table-bordered table-striped table-condensed">
  147. <thead>
  148. <tr>
  149. <th>Type</th>
  150. <th>Name</th>
  151. <th>Description</th>
  152. </tr>
  153. </thead>
  154. <tbody>
  155. <tr>
  156. <td><a class="xref" href="Terminal.Gui.Point.html">Point</a></td>
  157. <td><span class="parametername">pt</span></td>
  158. <td></td>
  159. </tr>
  160. </tbody>
  161. </table>
  162. <h5 id="Terminal_Gui_Size__ctor_Terminal_Gui_Point__remarks">Remarks</h5>
  163. <div class="markdown level1 remarks">
  164. Creates a Size from a Point value.
  165. </div>
  166. <h3 id="fields">Fields
  167. </h3>
  168. <h4 id="Terminal_Gui_Size_Empty" data-uid="Terminal.Gui.Size.Empty">Empty</h4>
  169. <div class="markdown level1 summary">
  170. Gets a Size structure that has a Height and Width value of 0.
  171. </div>
  172. <div class="markdown level1 conceptual"></div>
  173. <h5 class="decalaration">Declaration</h5>
  174. <div class="codewrapper">
  175. <pre><code class="lang-csharp hljs">public static readonly Size Empty</code></pre>
  176. </div>
  177. <h5 class="fieldValue">Field Value</h5>
  178. <table class="table table-bordered table-striped table-condensed">
  179. <thead>
  180. <tr>
  181. <th>Type</th>
  182. <th>Description</th>
  183. </tr>
  184. </thead>
  185. <tbody>
  186. <tr>
  187. <td><a class="xref" href="Terminal.Gui.Size.html">Size</a></td>
  188. <td></td>
  189. </tr>
  190. </tbody>
  191. </table>
  192. <h3 id="properties">Properties
  193. </h3>
  194. <a id="Terminal_Gui_Size_Height_" data-uid="Terminal.Gui.Size.Height*"></a>
  195. <h4 id="Terminal_Gui_Size_Height" data-uid="Terminal.Gui.Size.Height">Height</h4>
  196. <div class="markdown level1 summary">
  197. Height Property
  198. </div>
  199. <div class="markdown level1 conceptual"></div>
  200. <h5 class="decalaration">Declaration</h5>
  201. <div class="codewrapper">
  202. <pre><code class="lang-csharp hljs">public int Height { get; set; }</code></pre>
  203. </div>
  204. <h5 class="propertyValue">Property Value</h5>
  205. <table class="table table-bordered table-striped table-condensed">
  206. <thead>
  207. <tr>
  208. <th>Type</th>
  209. <th>Description</th>
  210. </tr>
  211. </thead>
  212. <tbody>
  213. <tr>
  214. <td><span class="xref">System.Int32</span></td>
  215. <td></td>
  216. </tr>
  217. </tbody>
  218. </table>
  219. <h5 id="Terminal_Gui_Size_Height_remarks">Remarks</h5>
  220. <div class="markdown level1 remarks">
  221. The Height coordinate of the Size.
  222. </div>
  223. <a id="Terminal_Gui_Size_IsEmpty_" data-uid="Terminal.Gui.Size.IsEmpty*"></a>
  224. <h4 id="Terminal_Gui_Size_IsEmpty" data-uid="Terminal.Gui.Size.IsEmpty">IsEmpty</h4>
  225. <div class="markdown level1 summary">
  226. IsEmpty Property
  227. </div>
  228. <div class="markdown level1 conceptual"></div>
  229. <h5 class="decalaration">Declaration</h5>
  230. <div class="codewrapper">
  231. <pre><code class="lang-csharp hljs">public bool IsEmpty { get; }</code></pre>
  232. </div>
  233. <h5 class="propertyValue">Property Value</h5>
  234. <table class="table table-bordered table-striped table-condensed">
  235. <thead>
  236. <tr>
  237. <th>Type</th>
  238. <th>Description</th>
  239. </tr>
  240. </thead>
  241. <tbody>
  242. <tr>
  243. <td><span class="xref">System.Boolean</span></td>
  244. <td></td>
  245. </tr>
  246. </tbody>
  247. </table>
  248. <h5 id="Terminal_Gui_Size_IsEmpty_remarks">Remarks</h5>
  249. <div class="markdown level1 remarks">
  250. Indicates if both Width and Height are zero.
  251. </div>
  252. <a id="Terminal_Gui_Size_Width_" data-uid="Terminal.Gui.Size.Width*"></a>
  253. <h4 id="Terminal_Gui_Size_Width" data-uid="Terminal.Gui.Size.Width">Width</h4>
  254. <div class="markdown level1 summary">
  255. Width Property
  256. </div>
  257. <div class="markdown level1 conceptual"></div>
  258. <h5 class="decalaration">Declaration</h5>
  259. <div class="codewrapper">
  260. <pre><code class="lang-csharp hljs">public int Width { get; set; }</code></pre>
  261. </div>
  262. <h5 class="propertyValue">Property Value</h5>
  263. <table class="table table-bordered table-striped table-condensed">
  264. <thead>
  265. <tr>
  266. <th>Type</th>
  267. <th>Description</th>
  268. </tr>
  269. </thead>
  270. <tbody>
  271. <tr>
  272. <td><span class="xref">System.Int32</span></td>
  273. <td></td>
  274. </tr>
  275. </tbody>
  276. </table>
  277. <h5 id="Terminal_Gui_Size_Width_remarks">Remarks</h5>
  278. <div class="markdown level1 remarks">
  279. The Width coordinate of the Size.
  280. </div>
  281. <h3 id="methods">Methods
  282. </h3>
  283. <a id="Terminal_Gui_Size_Add_" data-uid="Terminal.Gui.Size.Add*"></a>
  284. <h4 id="Terminal_Gui_Size_Add_Terminal_Gui_Size_Terminal_Gui_Size_" data-uid="Terminal.Gui.Size.Add(Terminal.Gui.Size,Terminal.Gui.Size)">Add(Size, Size)</h4>
  285. <div class="markdown level1 summary">
  286. Adds the width and height of one Size structure to the width and height of another Size 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 static Size Add(Size sz1, Size sz2)</code></pre>
  292. </div>
  293. <h5 class="parameters">Parameters</h5>
  294. <table class="table table-bordered table-striped table-condensed">
  295. <thead>
  296. <tr>
  297. <th>Type</th>
  298. <th>Name</th>
  299. <th>Description</th>
  300. </tr>
  301. </thead>
  302. <tbody>
  303. <tr>
  304. <td><a class="xref" href="Terminal.Gui.Size.html">Size</a></td>
  305. <td><span class="parametername">sz1</span></td>
  306. <td>The first Size structure to add.</td>
  307. </tr>
  308. <tr>
  309. <td><a class="xref" href="Terminal.Gui.Size.html">Size</a></td>
  310. <td><span class="parametername">sz2</span></td>
  311. <td>The second Size structure to add.</td>
  312. </tr>
  313. </tbody>
  314. </table>
  315. <h5 class="returns">Returns</h5>
  316. <table class="table table-bordered table-striped table-condensed">
  317. <thead>
  318. <tr>
  319. <th>Type</th>
  320. <th>Description</th>
  321. </tr>
  322. </thead>
  323. <tbody>
  324. <tr>
  325. <td><a class="xref" href="Terminal.Gui.Size.html">Size</a></td>
  326. <td>The add.</td>
  327. </tr>
  328. </tbody>
  329. </table>
  330. <a id="Terminal_Gui_Size_Equals_" data-uid="Terminal.Gui.Size.Equals*"></a>
  331. <h4 id="Terminal_Gui_Size_Equals_System_Object_" data-uid="Terminal.Gui.Size.Equals(System.Object)">Equals(Object)</h4>
  332. <div class="markdown level1 summary">
  333. Equals Method
  334. </div>
  335. <div class="markdown level1 conceptual"></div>
  336. <h5 class="decalaration">Declaration</h5>
  337. <div class="codewrapper">
  338. <pre><code class="lang-csharp hljs">public override bool Equals(object obj)</code></pre>
  339. </div>
  340. <h5 class="parameters">Parameters</h5>
  341. <table class="table table-bordered table-striped table-condensed">
  342. <thead>
  343. <tr>
  344. <th>Type</th>
  345. <th>Name</th>
  346. <th>Description</th>
  347. </tr>
  348. </thead>
  349. <tbody>
  350. <tr>
  351. <td><span class="xref">System.Object</span></td>
  352. <td><span class="parametername">obj</span></td>
  353. <td></td>
  354. </tr>
  355. </tbody>
  356. </table>
  357. <h5 class="returns">Returns</h5>
  358. <table class="table table-bordered table-striped table-condensed">
  359. <thead>
  360. <tr>
  361. <th>Type</th>
  362. <th>Description</th>
  363. </tr>
  364. </thead>
  365. <tbody>
  366. <tr>
  367. <td><span class="xref">System.Boolean</span></td>
  368. <td></td>
  369. </tr>
  370. </tbody>
  371. </table>
  372. <h5 class="overrides">Overrides</h5>
  373. <div><span class="xref">System.ValueType.Equals(System.Object)</span></div>
  374. <h5 id="Terminal_Gui_Size_Equals_System_Object__remarks">Remarks</h5>
  375. <div class="markdown level1 remarks">
  376. Checks equivalence of this Size and another object.
  377. </div>
  378. <a id="Terminal_Gui_Size_GetHashCode_" data-uid="Terminal.Gui.Size.GetHashCode*"></a>
  379. <h4 id="Terminal_Gui_Size_GetHashCode" data-uid="Terminal.Gui.Size.GetHashCode">GetHashCode()</h4>
  380. <div class="markdown level1 summary">
  381. GetHashCode Method
  382. </div>
  383. <div class="markdown level1 conceptual"></div>
  384. <h5 class="decalaration">Declaration</h5>
  385. <div class="codewrapper">
  386. <pre><code class="lang-csharp hljs">public override int GetHashCode()</code></pre>
  387. </div>
  388. <h5 class="returns">Returns</h5>
  389. <table class="table table-bordered table-striped table-condensed">
  390. <thead>
  391. <tr>
  392. <th>Type</th>
  393. <th>Description</th>
  394. </tr>
  395. </thead>
  396. <tbody>
  397. <tr>
  398. <td><span class="xref">System.Int32</span></td>
  399. <td></td>
  400. </tr>
  401. </tbody>
  402. </table>
  403. <h5 class="overrides">Overrides</h5>
  404. <div><span class="xref">System.ValueType.GetHashCode()</span></div>
  405. <h5 id="Terminal_Gui_Size_GetHashCode_remarks">Remarks</h5>
  406. <div class="markdown level1 remarks">
  407. Calculates a hashing value.
  408. </div>
  409. <a id="Terminal_Gui_Size_Subtract_" data-uid="Terminal.Gui.Size.Subtract*"></a>
  410. <h4 id="Terminal_Gui_Size_Subtract_Terminal_Gui_Size_Terminal_Gui_Size_" data-uid="Terminal.Gui.Size.Subtract(Terminal.Gui.Size,Terminal.Gui.Size)">Subtract(Size, Size)</h4>
  411. <div class="markdown level1 summary">
  412. Subtracts the width and height of one Size structure to the width and height of another Size structure.
  413. </div>
  414. <div class="markdown level1 conceptual"></div>
  415. <h5 class="decalaration">Declaration</h5>
  416. <div class="codewrapper">
  417. <pre><code class="lang-csharp hljs">public static Size Subtract(Size sz1, Size sz2)</code></pre>
  418. </div>
  419. <h5 class="parameters">Parameters</h5>
  420. <table class="table table-bordered table-striped table-condensed">
  421. <thead>
  422. <tr>
  423. <th>Type</th>
  424. <th>Name</th>
  425. <th>Description</th>
  426. </tr>
  427. </thead>
  428. <tbody>
  429. <tr>
  430. <td><a class="xref" href="Terminal.Gui.Size.html">Size</a></td>
  431. <td><span class="parametername">sz1</span></td>
  432. <td>The first Size structure to subtract.</td>
  433. </tr>
  434. <tr>
  435. <td><a class="xref" href="Terminal.Gui.Size.html">Size</a></td>
  436. <td><span class="parametername">sz2</span></td>
  437. <td>The second Size structure to subtract.</td>
  438. </tr>
  439. </tbody>
  440. </table>
  441. <h5 class="returns">Returns</h5>
  442. <table class="table table-bordered table-striped table-condensed">
  443. <thead>
  444. <tr>
  445. <th>Type</th>
  446. <th>Description</th>
  447. </tr>
  448. </thead>
  449. <tbody>
  450. <tr>
  451. <td><a class="xref" href="Terminal.Gui.Size.html">Size</a></td>
  452. <td>The subtract.</td>
  453. </tr>
  454. </tbody>
  455. </table>
  456. <a id="Terminal_Gui_Size_ToString_" data-uid="Terminal.Gui.Size.ToString*"></a>
  457. <h4 id="Terminal_Gui_Size_ToString" data-uid="Terminal.Gui.Size.ToString">ToString()</h4>
  458. <div class="markdown level1 summary">
  459. ToString Method
  460. </div>
  461. <div class="markdown level1 conceptual"></div>
  462. <h5 class="decalaration">Declaration</h5>
  463. <div class="codewrapper">
  464. <pre><code class="lang-csharp hljs">public override string ToString()</code></pre>
  465. </div>
  466. <h5 class="returns">Returns</h5>
  467. <table class="table table-bordered table-striped table-condensed">
  468. <thead>
  469. <tr>
  470. <th>Type</th>
  471. <th>Description</th>
  472. </tr>
  473. </thead>
  474. <tbody>
  475. <tr>
  476. <td><span class="xref">System.String</span></td>
  477. <td></td>
  478. </tr>
  479. </tbody>
  480. </table>
  481. <h5 class="overrides">Overrides</h5>
  482. <div><span class="xref">System.ValueType.ToString()</span></div>
  483. <h5 id="Terminal_Gui_Size_ToString_remarks">Remarks</h5>
  484. <div class="markdown level1 remarks">
  485. Formats the Size as a string in coordinate notation.
  486. </div>
  487. <h3 id="operators">Operators
  488. </h3>
  489. <a id="Terminal_Gui_Size_op_Addition_" data-uid="Terminal.Gui.Size.op_Addition*"></a>
  490. <h4 id="Terminal_Gui_Size_op_Addition_Terminal_Gui_Size_Terminal_Gui_Size_" data-uid="Terminal.Gui.Size.op_Addition(Terminal.Gui.Size,Terminal.Gui.Size)">Addition(Size, Size)</h4>
  491. <div class="markdown level1 summary">
  492. Addition Operator
  493. </div>
  494. <div class="markdown level1 conceptual"></div>
  495. <h5 class="decalaration">Declaration</h5>
  496. <div class="codewrapper">
  497. <pre><code class="lang-csharp hljs">public static Size operator +(Size sz1, Size sz2)</code></pre>
  498. </div>
  499. <h5 class="parameters">Parameters</h5>
  500. <table class="table table-bordered table-striped table-condensed">
  501. <thead>
  502. <tr>
  503. <th>Type</th>
  504. <th>Name</th>
  505. <th>Description</th>
  506. </tr>
  507. </thead>
  508. <tbody>
  509. <tr>
  510. <td><a class="xref" href="Terminal.Gui.Size.html">Size</a></td>
  511. <td><span class="parametername">sz1</span></td>
  512. <td></td>
  513. </tr>
  514. <tr>
  515. <td><a class="xref" href="Terminal.Gui.Size.html">Size</a></td>
  516. <td><span class="parametername">sz2</span></td>
  517. <td></td>
  518. </tr>
  519. </tbody>
  520. </table>
  521. <h5 class="returns">Returns</h5>
  522. <table class="table table-bordered table-striped table-condensed">
  523. <thead>
  524. <tr>
  525. <th>Type</th>
  526. <th>Description</th>
  527. </tr>
  528. </thead>
  529. <tbody>
  530. <tr>
  531. <td><a class="xref" href="Terminal.Gui.Size.html">Size</a></td>
  532. <td></td>
  533. </tr>
  534. </tbody>
  535. </table>
  536. <h5 id="Terminal_Gui_Size_op_Addition_Terminal_Gui_Size_Terminal_Gui_Size__remarks">Remarks</h5>
  537. <div class="markdown level1 remarks">
  538. Addition of two Size structures.
  539. </div>
  540. <a id="Terminal_Gui_Size_op_Equality_" data-uid="Terminal.Gui.Size.op_Equality*"></a>
  541. <h4 id="Terminal_Gui_Size_op_Equality_Terminal_Gui_Size_Terminal_Gui_Size_" data-uid="Terminal.Gui.Size.op_Equality(Terminal.Gui.Size,Terminal.Gui.Size)">Equality(Size, Size)</h4>
  542. <div class="markdown level1 summary">
  543. Equality Operator
  544. </div>
  545. <div class="markdown level1 conceptual"></div>
  546. <h5 class="decalaration">Declaration</h5>
  547. <div class="codewrapper">
  548. <pre><code class="lang-csharp hljs">public static bool operator ==(Size sz1, Size sz2)</code></pre>
  549. </div>
  550. <h5 class="parameters">Parameters</h5>
  551. <table class="table table-bordered table-striped table-condensed">
  552. <thead>
  553. <tr>
  554. <th>Type</th>
  555. <th>Name</th>
  556. <th>Description</th>
  557. </tr>
  558. </thead>
  559. <tbody>
  560. <tr>
  561. <td><a class="xref" href="Terminal.Gui.Size.html">Size</a></td>
  562. <td><span class="parametername">sz1</span></td>
  563. <td></td>
  564. </tr>
  565. <tr>
  566. <td><a class="xref" href="Terminal.Gui.Size.html">Size</a></td>
  567. <td><span class="parametername">sz2</span></td>
  568. <td></td>
  569. </tr>
  570. </tbody>
  571. </table>
  572. <h5 class="returns">Returns</h5>
  573. <table class="table table-bordered table-striped table-condensed">
  574. <thead>
  575. <tr>
  576. <th>Type</th>
  577. <th>Description</th>
  578. </tr>
  579. </thead>
  580. <tbody>
  581. <tr>
  582. <td><span class="xref">System.Boolean</span></td>
  583. <td></td>
  584. </tr>
  585. </tbody>
  586. </table>
  587. <h5 id="Terminal_Gui_Size_op_Equality_Terminal_Gui_Size_Terminal_Gui_Size__remarks">Remarks</h5>
  588. <div class="markdown level1 remarks">
  589. Compares two Size objects. The return value is
  590. based on the equivalence of the Width and Height
  591. properties of the two Sizes.
  592. </div>
  593. <a id="Terminal_Gui_Size_op_Explicit_" data-uid="Terminal.Gui.Size.op_Explicit*"></a>
  594. <h4 id="Terminal_Gui_Size_op_Explicit_Terminal_Gui_Size__Terminal_Gui_Point" data-uid="Terminal.Gui.Size.op_Explicit(Terminal.Gui.Size)~Terminal.Gui.Point">Explicit(Size to Point)</h4>
  595. <div class="markdown level1 summary">
  596. Size to Point Conversion
  597. </div>
  598. <div class="markdown level1 conceptual"></div>
  599. <h5 class="decalaration">Declaration</h5>
  600. <div class="codewrapper">
  601. <pre><code class="lang-csharp hljs">public static explicit operator Point(Size size)</code></pre>
  602. </div>
  603. <h5 class="parameters">Parameters</h5>
  604. <table class="table table-bordered table-striped table-condensed">
  605. <thead>
  606. <tr>
  607. <th>Type</th>
  608. <th>Name</th>
  609. <th>Description</th>
  610. </tr>
  611. </thead>
  612. <tbody>
  613. <tr>
  614. <td><a class="xref" href="Terminal.Gui.Size.html">Size</a></td>
  615. <td><span class="parametername">size</span></td>
  616. <td></td>
  617. </tr>
  618. </tbody>
  619. </table>
  620. <h5 class="returns">Returns</h5>
  621. <table class="table table-bordered table-striped table-condensed">
  622. <thead>
  623. <tr>
  624. <th>Type</th>
  625. <th>Description</th>
  626. </tr>
  627. </thead>
  628. <tbody>
  629. <tr>
  630. <td><a class="xref" href="Terminal.Gui.Point.html">Point</a></td>
  631. <td></td>
  632. </tr>
  633. </tbody>
  634. </table>
  635. <h5 id="Terminal_Gui_Size_op_Explicit_Terminal_Gui_Size__Terminal_Gui_Point_remarks">Remarks</h5>
  636. <div class="markdown level1 remarks">
  637. Returns a Point based on the dimensions of a given
  638. Size. Requires explicit cast.
  639. </div>
  640. <a id="Terminal_Gui_Size_op_Inequality_" data-uid="Terminal.Gui.Size.op_Inequality*"></a>
  641. <h4 id="Terminal_Gui_Size_op_Inequality_Terminal_Gui_Size_Terminal_Gui_Size_" data-uid="Terminal.Gui.Size.op_Inequality(Terminal.Gui.Size,Terminal.Gui.Size)">Inequality(Size, Size)</h4>
  642. <div class="markdown level1 summary">
  643. Inequality Operator
  644. </div>
  645. <div class="markdown level1 conceptual"></div>
  646. <h5 class="decalaration">Declaration</h5>
  647. <div class="codewrapper">
  648. <pre><code class="lang-csharp hljs">public static bool operator !=(Size sz1, Size sz2)</code></pre>
  649. </div>
  650. <h5 class="parameters">Parameters</h5>
  651. <table class="table table-bordered table-striped table-condensed">
  652. <thead>
  653. <tr>
  654. <th>Type</th>
  655. <th>Name</th>
  656. <th>Description</th>
  657. </tr>
  658. </thead>
  659. <tbody>
  660. <tr>
  661. <td><a class="xref" href="Terminal.Gui.Size.html">Size</a></td>
  662. <td><span class="parametername">sz1</span></td>
  663. <td></td>
  664. </tr>
  665. <tr>
  666. <td><a class="xref" href="Terminal.Gui.Size.html">Size</a></td>
  667. <td><span class="parametername">sz2</span></td>
  668. <td></td>
  669. </tr>
  670. </tbody>
  671. </table>
  672. <h5 class="returns">Returns</h5>
  673. <table class="table table-bordered table-striped table-condensed">
  674. <thead>
  675. <tr>
  676. <th>Type</th>
  677. <th>Description</th>
  678. </tr>
  679. </thead>
  680. <tbody>
  681. <tr>
  682. <td><span class="xref">System.Boolean</span></td>
  683. <td></td>
  684. </tr>
  685. </tbody>
  686. </table>
  687. <h5 id="Terminal_Gui_Size_op_Inequality_Terminal_Gui_Size_Terminal_Gui_Size__remarks">Remarks</h5>
  688. <div class="markdown level1 remarks">
  689. Compares two Size objects. The return value is
  690. based on the equivalence of the Width and Height
  691. properties of the two Sizes.
  692. </div>
  693. <a id="Terminal_Gui_Size_op_Subtraction_" data-uid="Terminal.Gui.Size.op_Subtraction*"></a>
  694. <h4 id="Terminal_Gui_Size_op_Subtraction_Terminal_Gui_Size_Terminal_Gui_Size_" data-uid="Terminal.Gui.Size.op_Subtraction(Terminal.Gui.Size,Terminal.Gui.Size)">Subtraction(Size, Size)</h4>
  695. <div class="markdown level1 summary">
  696. Subtraction Operator
  697. </div>
  698. <div class="markdown level1 conceptual"></div>
  699. <h5 class="decalaration">Declaration</h5>
  700. <div class="codewrapper">
  701. <pre><code class="lang-csharp hljs">public static Size operator -(Size sz1, Size sz2)</code></pre>
  702. </div>
  703. <h5 class="parameters">Parameters</h5>
  704. <table class="table table-bordered table-striped table-condensed">
  705. <thead>
  706. <tr>
  707. <th>Type</th>
  708. <th>Name</th>
  709. <th>Description</th>
  710. </tr>
  711. </thead>
  712. <tbody>
  713. <tr>
  714. <td><a class="xref" href="Terminal.Gui.Size.html">Size</a></td>
  715. <td><span class="parametername">sz1</span></td>
  716. <td></td>
  717. </tr>
  718. <tr>
  719. <td><a class="xref" href="Terminal.Gui.Size.html">Size</a></td>
  720. <td><span class="parametername">sz2</span></td>
  721. <td></td>
  722. </tr>
  723. </tbody>
  724. </table>
  725. <h5 class="returns">Returns</h5>
  726. <table class="table table-bordered table-striped table-condensed">
  727. <thead>
  728. <tr>
  729. <th>Type</th>
  730. <th>Description</th>
  731. </tr>
  732. </thead>
  733. <tbody>
  734. <tr>
  735. <td><a class="xref" href="Terminal.Gui.Size.html">Size</a></td>
  736. <td></td>
  737. </tr>
  738. </tbody>
  739. </table>
  740. <h5 id="Terminal_Gui_Size_op_Subtraction_Terminal_Gui_Size_Terminal_Gui_Size__remarks">Remarks</h5>
  741. <div class="markdown level1 remarks">
  742. Subtracts two Size structures.
  743. </div>
  744. </article>
  745. </div>
  746. <div class="hidden-sm col-md-2" role="complementary">
  747. <div class="sideaffix">
  748. <div class="contribution">
  749. <ul class="nav">
  750. </ul>
  751. </div>
  752. <nav class="bs-docs-sidebar hidden-print hidden-xs hidden-sm affix" id="affix">
  753. <!-- <p><a class="back-to-top" href="#top">Back to top</a><p> -->
  754. </nav>
  755. </div>
  756. </div>
  757. </div>
  758. </div>
  759. <footer>
  760. <div class="grad-bottom"></div>
  761. <div class="footer">
  762. <div class="container">
  763. <span class="pull-right">
  764. <a href="#top">Back to top</a>
  765. </span>
  766. <span>Generated by <strong>DocFX</strong></span>
  767. </div>
  768. </div>
  769. </footer>
  770. </div>
  771. <script type="text/javascript" src="../../styles/docfx.vendor.js"></script>
  772. <script type="text/javascript" src="../../styles/docfx.js"></script>
  773. <script type="text/javascript" src="../../styles/main.js"></script>
  774. </body>
  775. </html>