Terminal.Gui.Point.html 26 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815
  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 Point
  8. </title>
  9. <meta name="viewport" content="width=device-width">
  10. <meta name="title" content="Class Point
  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. <link href="https://fonts.googleapis.com/css?family=Source Sans Pro" rel="stylesheet">
  18. <link href="https://fonts.googleapis.com/css?family=Source Code Pro" rel="stylesheet">
  19. <meta property="docfx:navrel" content="../../toc.html">
  20. <meta property="docfx:tocrel" content="toc.html">
  21. <meta property="docfx:rel" content="../../">
  22. </head> <body data-spy="scroll" data-target="#affix" data-offset="120">
  23. <div id="wrapper">
  24. <header>
  25. <nav id="autocollapse" class="navbar navbar-inverse ng-scope" role="navigation">
  26. <div class="container">
  27. <div class="navbar-header">
  28. <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#navbar">
  29. <span class="sr-only">Toggle navigation</span>
  30. <span class="icon-bar"></span>
  31. <span class="icon-bar"></span>
  32. <span class="icon-bar"></span>
  33. </button>
  34. <a class="navbar-brand" href="../../index.html">
  35. <img id="logo" class="svg" src="../../images/logo48.png" alt="">
  36. </a>
  37. </div>
  38. <div class="collapse navbar-collapse" id="navbar">
  39. <form class="navbar-form navbar-right" role="search" id="search">
  40. <div class="form-group">
  41. <input type="text" class="form-control" id="search-query" placeholder="Search" autocomplete="off">
  42. </div>
  43. </form>
  44. </div>
  45. </div>
  46. </nav>
  47. <div class="subnav navbar navbar-default">
  48. <div class="container hide-when-search" id="breadcrumb">
  49. <ul class="breadcrumb">
  50. <li></li>
  51. </ul>
  52. </div>
  53. </div>
  54. </header>
  55. <div class="container body-content">
  56. <div id="search-results">
  57. <div class="search-list">Search Results for <span></span></div>
  58. <div class="sr-items">
  59. <p><i class="glyphicon glyphicon-refresh index-loading"></i></p>
  60. </div>
  61. <ul id="pagination" data-first="First" data-prev="Previous" data-next="Next" data-last="Last"></ul>
  62. </div>
  63. </div>
  64. <div role="main" class="container body-content hide-when-search">
  65. <div class="sidenav hide-when-search">
  66. <a class="btn toc-toggle collapse" data-toggle="collapse" href="#sidetoggle" aria-expanded="false" aria-controls="sidetoggle">Show / Hide Table of Contents</a>
  67. <div class="sidetoggle collapse" id="sidetoggle">
  68. <div id="sidetoc"></div>
  69. </div>
  70. </div>
  71. <div class="article row grid-right">
  72. <div class="col-md-10">
  73. <article class="content wrap" id="_content" data-uid="Terminal.Gui.Point">
  74. <h1 id="Terminal_Gui_Point" data-uid="Terminal.Gui.Point" class="text-break">Class Point
  75. </h1>
  76. <div class="markdown level0 summary">
  77. Represents an ordered pair of integer x- and y-coordinates that defines a point in a two-dimensional plane.
  78. </div>
  79. <div class="markdown level0 conceptual"></div>
  80. <div class="inheritance">
  81. <h5>Inheritance</h5>
  82. <div class="level0"><span class="xref">System.Object</span></div>
  83. <div class="level1"><span class="xref">Point</span></div>
  84. </div>
  85. <h6><strong>Namespace</strong>: <a class="xref" href="Terminal.Gui.html">Terminal.Gui</a></h6>
  86. <h6><strong>Assembly</strong>: Terminal.Gui.dll</h6>
  87. <h5 id="Terminal_Gui_Point_syntax">Syntax</h5>
  88. <div class="codewrapper">
  89. <pre><code class="lang-csharp hljs">public sealed class Point : ValueType</code></pre>
  90. </div>
  91. <h3 id="constructors">Constructors
  92. </h3>
  93. <a id="Terminal_Gui_Point__ctor_" data-uid="Terminal.Gui.Point.#ctor*"></a>
  94. <h4 id="Terminal_Gui_Point__ctor_System_Int32_System_Int32_" data-uid="Terminal.Gui.Point.#ctor(System.Int32,System.Int32)">Point(Int32, Int32)</h4>
  95. <div class="markdown level1 summary">
  96. Point Constructor
  97. </div>
  98. <div class="markdown level1 conceptual"></div>
  99. <h5 class="decalaration">Declaration</h5>
  100. <div class="codewrapper">
  101. <pre><code class="lang-csharp hljs">public Point(int x, int y)</code></pre>
  102. </div>
  103. <h5 class="parameters">Parameters</h5>
  104. <table class="table table-bordered table-striped table-condensed">
  105. <thead>
  106. <tr>
  107. <th>Type</th>
  108. <th>Name</th>
  109. <th>Description</th>
  110. </tr>
  111. </thead>
  112. <tbody>
  113. <tr>
  114. <td><span class="xref">System.Int32</span></td>
  115. <td><span class="parametername">x</span></td>
  116. <td></td>
  117. </tr>
  118. <tr>
  119. <td><span class="xref">System.Int32</span></td>
  120. <td><span class="parametername">y</span></td>
  121. <td></td>
  122. </tr>
  123. </tbody>
  124. </table>
  125. <a id="Terminal_Gui_Point__ctor_" data-uid="Terminal.Gui.Point.#ctor*"></a>
  126. <h4 id="Terminal_Gui_Point__ctor_Terminal_Gui_Size_" data-uid="Terminal.Gui.Point.#ctor(Terminal.Gui.Size)">Point(Size)</h4>
  127. <div class="markdown level1 summary">
  128. Point Constructor
  129. </div>
  130. <div class="markdown level1 conceptual"></div>
  131. <h5 class="decalaration">Declaration</h5>
  132. <div class="codewrapper">
  133. <pre><code class="lang-csharp hljs">public Point(Size sz)</code></pre>
  134. </div>
  135. <h5 class="parameters">Parameters</h5>
  136. <table class="table table-bordered table-striped table-condensed">
  137. <thead>
  138. <tr>
  139. <th>Type</th>
  140. <th>Name</th>
  141. <th>Description</th>
  142. </tr>
  143. </thead>
  144. <tbody>
  145. <tr>
  146. <td><a class="xref" href="Terminal.Gui.Size.html">Size</a></td>
  147. <td><span class="parametername">sz</span></td>
  148. <td></td>
  149. </tr>
  150. </tbody>
  151. </table>
  152. <h3 id="fields">Fields
  153. </h3>
  154. <h4 id="Terminal_Gui_Point_Empty" data-uid="Terminal.Gui.Point.Empty">Empty</h4>
  155. <div class="markdown level1 summary">
  156. Empty Shared Field
  157. </div>
  158. <div class="markdown level1 conceptual"></div>
  159. <h5 class="decalaration">Declaration</h5>
  160. <div class="codewrapper">
  161. <pre><code class="lang-csharp hljs">public static readonly Point Empty</code></pre>
  162. </div>
  163. <h5 class="fieldValue">Field Value</h5>
  164. <table class="table table-bordered table-striped table-condensed">
  165. <thead>
  166. <tr>
  167. <th>Type</th>
  168. <th>Description</th>
  169. </tr>
  170. </thead>
  171. <tbody>
  172. <tr>
  173. <td><a class="xref" href="Terminal.Gui.Point.html">Point</a></td>
  174. <td></td>
  175. </tr>
  176. </tbody>
  177. </table>
  178. <h4 id="Terminal_Gui_Point_X" data-uid="Terminal.Gui.Point.X">X</h4>
  179. <div class="markdown level1 summary">
  180. Gets or sets the x-coordinate of this Point.
  181. </div>
  182. <div class="markdown level1 conceptual"></div>
  183. <h5 class="decalaration">Declaration</h5>
  184. <div class="codewrapper">
  185. <pre><code class="lang-csharp hljs">public int X</code></pre>
  186. </div>
  187. <h5 class="fieldValue">Field Value</h5>
  188. <table class="table table-bordered table-striped table-condensed">
  189. <thead>
  190. <tr>
  191. <th>Type</th>
  192. <th>Description</th>
  193. </tr>
  194. </thead>
  195. <tbody>
  196. <tr>
  197. <td><span class="xref">System.Int32</span></td>
  198. <td></td>
  199. </tr>
  200. </tbody>
  201. </table>
  202. <h4 id="Terminal_Gui_Point_Y" data-uid="Terminal.Gui.Point.Y">Y</h4>
  203. <div class="markdown level1 summary">
  204. Gets or sets the y-coordinate of this Point.
  205. </div>
  206. <div class="markdown level1 conceptual"></div>
  207. <h5 class="decalaration">Declaration</h5>
  208. <div class="codewrapper">
  209. <pre><code class="lang-csharp hljs">public int Y</code></pre>
  210. </div>
  211. <h5 class="fieldValue">Field Value</h5>
  212. <table class="table table-bordered table-striped table-condensed">
  213. <thead>
  214. <tr>
  215. <th>Type</th>
  216. <th>Description</th>
  217. </tr>
  218. </thead>
  219. <tbody>
  220. <tr>
  221. <td><span class="xref">System.Int32</span></td>
  222. <td></td>
  223. </tr>
  224. </tbody>
  225. </table>
  226. <h3 id="properties">Properties
  227. </h3>
  228. <a id="Terminal_Gui_Point_IsEmpty_" data-uid="Terminal.Gui.Point.IsEmpty*"></a>
  229. <h4 id="Terminal_Gui_Point_IsEmpty" data-uid="Terminal.Gui.Point.IsEmpty">IsEmpty</h4>
  230. <div class="markdown level1 summary">
  231. IsEmpty Property
  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 bool IsEmpty { get; }</code></pre>
  237. </div>
  238. <h5 class="propertyValue">Property 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.Boolean</span></td>
  249. <td></td>
  250. </tr>
  251. </tbody>
  252. </table>
  253. <h3 id="methods">Methods
  254. </h3>
  255. <a id="Terminal_Gui_Point_Add_" data-uid="Terminal.Gui.Point.Add*"></a>
  256. <h4 id="Terminal_Gui_Point_Add_Terminal_Gui_Point_Terminal_Gui_Size_" data-uid="Terminal.Gui.Point.Add(Terminal.Gui.Point,Terminal.Gui.Size)">Add(Point, Size)</h4>
  257. <div class="markdown level1 summary">
  258. Adds the specified Size to the specified Point.
  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 static Point Add(Point pt, Size sz)</code></pre>
  264. </div>
  265. <h5 class="parameters">Parameters</h5>
  266. <table class="table table-bordered table-striped table-condensed">
  267. <thead>
  268. <tr>
  269. <th>Type</th>
  270. <th>Name</th>
  271. <th>Description</th>
  272. </tr>
  273. </thead>
  274. <tbody>
  275. <tr>
  276. <td><a class="xref" href="Terminal.Gui.Point.html">Point</a></td>
  277. <td><span class="parametername">pt</span></td>
  278. <td>The Point to add.</td>
  279. </tr>
  280. <tr>
  281. <td><a class="xref" href="Terminal.Gui.Size.html">Size</a></td>
  282. <td><span class="parametername">sz</span></td>
  283. <td>The Size to add.</td>
  284. </tr>
  285. </tbody>
  286. </table>
  287. <h5 class="returns">Returns</h5>
  288. <table class="table table-bordered table-striped table-condensed">
  289. <thead>
  290. <tr>
  291. <th>Type</th>
  292. <th>Description</th>
  293. </tr>
  294. </thead>
  295. <tbody>
  296. <tr>
  297. <td><a class="xref" href="Terminal.Gui.Point.html">Point</a></td>
  298. <td>The Point that is the result of the addition operation.</td>
  299. </tr>
  300. </tbody>
  301. </table>
  302. <a id="Terminal_Gui_Point_Equals_" data-uid="Terminal.Gui.Point.Equals*"></a>
  303. <h4 id="Terminal_Gui_Point_Equals_System_Object_" data-uid="Terminal.Gui.Point.Equals(System.Object)">Equals(Object)</h4>
  304. <div class="markdown level1 summary">
  305. Equals Method
  306. </div>
  307. <div class="markdown level1 conceptual"></div>
  308. <h5 class="decalaration">Declaration</h5>
  309. <div class="codewrapper">
  310. <pre><code class="lang-csharp hljs">public override bool Equals(object obj)</code></pre>
  311. </div>
  312. <h5 class="parameters">Parameters</h5>
  313. <table class="table table-bordered table-striped table-condensed">
  314. <thead>
  315. <tr>
  316. <th>Type</th>
  317. <th>Name</th>
  318. <th>Description</th>
  319. </tr>
  320. </thead>
  321. <tbody>
  322. <tr>
  323. <td><span class="xref">System.Object</span></td>
  324. <td><span class="parametername">obj</span></td>
  325. <td></td>
  326. </tr>
  327. </tbody>
  328. </table>
  329. <h5 class="returns">Returns</h5>
  330. <table class="table table-bordered table-striped table-condensed">
  331. <thead>
  332. <tr>
  333. <th>Type</th>
  334. <th>Description</th>
  335. </tr>
  336. </thead>
  337. <tbody>
  338. <tr>
  339. <td><span class="xref">System.Boolean</span></td>
  340. <td></td>
  341. </tr>
  342. </tbody>
  343. </table>
  344. <a id="Terminal_Gui_Point_GetHashCode_" data-uid="Terminal.Gui.Point.GetHashCode*"></a>
  345. <h4 id="Terminal_Gui_Point_GetHashCode" data-uid="Terminal.Gui.Point.GetHashCode">GetHashCode()</h4>
  346. <div class="markdown level1 summary">
  347. GetHashCode Method
  348. </div>
  349. <div class="markdown level1 conceptual"></div>
  350. <h5 class="decalaration">Declaration</h5>
  351. <div class="codewrapper">
  352. <pre><code class="lang-csharp hljs">public override int GetHashCode()</code></pre>
  353. </div>
  354. <h5 class="returns">Returns</h5>
  355. <table class="table table-bordered table-striped table-condensed">
  356. <thead>
  357. <tr>
  358. <th>Type</th>
  359. <th>Description</th>
  360. </tr>
  361. </thead>
  362. <tbody>
  363. <tr>
  364. <td><span class="xref">System.Int32</span></td>
  365. <td></td>
  366. </tr>
  367. </tbody>
  368. </table>
  369. <a id="Terminal_Gui_Point_Offset_" data-uid="Terminal.Gui.Point.Offset*"></a>
  370. <h4 id="Terminal_Gui_Point_Offset_System_Int32_System_Int32_" data-uid="Terminal.Gui.Point.Offset(System.Int32,System.Int32)">Offset(Int32, Int32)</h4>
  371. <div class="markdown level1 summary">
  372. Offset Method
  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 void Offset(int dx, int dy)</code></pre>
  378. </div>
  379. <h5 class="parameters">Parameters</h5>
  380. <table class="table table-bordered table-striped table-condensed">
  381. <thead>
  382. <tr>
  383. <th>Type</th>
  384. <th>Name</th>
  385. <th>Description</th>
  386. </tr>
  387. </thead>
  388. <tbody>
  389. <tr>
  390. <td><span class="xref">System.Int32</span></td>
  391. <td><span class="parametername">dx</span></td>
  392. <td></td>
  393. </tr>
  394. <tr>
  395. <td><span class="xref">System.Int32</span></td>
  396. <td><span class="parametername">dy</span></td>
  397. <td></td>
  398. </tr>
  399. </tbody>
  400. </table>
  401. <a id="Terminal_Gui_Point_Offset_" data-uid="Terminal.Gui.Point.Offset*"></a>
  402. <h4 id="Terminal_Gui_Point_Offset_Terminal_Gui_Point_" data-uid="Terminal.Gui.Point.Offset(Terminal.Gui.Point)">Offset(Point)</h4>
  403. <div class="markdown level1 summary">
  404. Translates this Point by the specified Point.
  405. </div>
  406. <div class="markdown level1 conceptual"></div>
  407. <h5 class="decalaration">Declaration</h5>
  408. <div class="codewrapper">
  409. <pre><code class="lang-csharp hljs">public void Offset(Point p)</code></pre>
  410. </div>
  411. <h5 class="parameters">Parameters</h5>
  412. <table class="table table-bordered table-striped table-condensed">
  413. <thead>
  414. <tr>
  415. <th>Type</th>
  416. <th>Name</th>
  417. <th>Description</th>
  418. </tr>
  419. </thead>
  420. <tbody>
  421. <tr>
  422. <td><a class="xref" href="Terminal.Gui.Point.html">Point</a></td>
  423. <td><span class="parametername">p</span></td>
  424. <td>The Point used offset this Point.</td>
  425. </tr>
  426. </tbody>
  427. </table>
  428. <a id="Terminal_Gui_Point_Subtract_" data-uid="Terminal.Gui.Point.Subtract*"></a>
  429. <h4 id="Terminal_Gui_Point_Subtract_Terminal_Gui_Point_Terminal_Gui_Size_" data-uid="Terminal.Gui.Point.Subtract(Terminal.Gui.Point,Terminal.Gui.Size)">Subtract(Point, Size)</h4>
  430. <div class="markdown level1 summary">
  431. Returns the result of subtracting specified Size from the specified Point.
  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 static Point Subtract(Point pt, Size sz)</code></pre>
  437. </div>
  438. <h5 class="parameters">Parameters</h5>
  439. <table class="table table-bordered table-striped table-condensed">
  440. <thead>
  441. <tr>
  442. <th>Type</th>
  443. <th>Name</th>
  444. <th>Description</th>
  445. </tr>
  446. </thead>
  447. <tbody>
  448. <tr>
  449. <td><a class="xref" href="Terminal.Gui.Point.html">Point</a></td>
  450. <td><span class="parametername">pt</span></td>
  451. <td>The Point to be subtracted from.</td>
  452. </tr>
  453. <tr>
  454. <td><a class="xref" href="Terminal.Gui.Size.html">Size</a></td>
  455. <td><span class="parametername">sz</span></td>
  456. <td>The Size to subtract from the Point.</td>
  457. </tr>
  458. </tbody>
  459. </table>
  460. <h5 class="returns">Returns</h5>
  461. <table class="table table-bordered table-striped table-condensed">
  462. <thead>
  463. <tr>
  464. <th>Type</th>
  465. <th>Description</th>
  466. </tr>
  467. </thead>
  468. <tbody>
  469. <tr>
  470. <td><a class="xref" href="Terminal.Gui.Point.html">Point</a></td>
  471. <td>The Point that is the result of the subtraction operation.</td>
  472. </tr>
  473. </tbody>
  474. </table>
  475. <a id="Terminal_Gui_Point_ToString_" data-uid="Terminal.Gui.Point.ToString*"></a>
  476. <h4 id="Terminal_Gui_Point_ToString" data-uid="Terminal.Gui.Point.ToString">ToString()</h4>
  477. <div class="markdown level1 summary">
  478. ToString Method
  479. </div>
  480. <div class="markdown level1 conceptual"></div>
  481. <h5 class="decalaration">Declaration</h5>
  482. <div class="codewrapper">
  483. <pre><code class="lang-csharp hljs">public override string ToString()</code></pre>
  484. </div>
  485. <h5 class="returns">Returns</h5>
  486. <table class="table table-bordered table-striped table-condensed">
  487. <thead>
  488. <tr>
  489. <th>Type</th>
  490. <th>Description</th>
  491. </tr>
  492. </thead>
  493. <tbody>
  494. <tr>
  495. <td><span class="xref">System.String</span></td>
  496. <td></td>
  497. </tr>
  498. </tbody>
  499. </table>
  500. <h3 id="operators">Operators
  501. </h3>
  502. <a id="Terminal_Gui_Point_op_Addition_" data-uid="Terminal.Gui.Point.op_Addition*"></a>
  503. <h4 id="Terminal_Gui_Point_op_Addition_Terminal_Gui_Point_Terminal_Gui_Size_" data-uid="Terminal.Gui.Point.op_Addition(Terminal.Gui.Point,Terminal.Gui.Size)">Addition(Point, Size)</h4>
  504. <div class="markdown level1 summary">
  505. Addition Operator
  506. </div>
  507. <div class="markdown level1 conceptual"></div>
  508. <h5 class="decalaration">Declaration</h5>
  509. <div class="codewrapper">
  510. <pre><code class="lang-csharp hljs">public static Point operator +(Point pt, Size sz)</code></pre>
  511. </div>
  512. <h5 class="parameters">Parameters</h5>
  513. <table class="table table-bordered table-striped table-condensed">
  514. <thead>
  515. <tr>
  516. <th>Type</th>
  517. <th>Name</th>
  518. <th>Description</th>
  519. </tr>
  520. </thead>
  521. <tbody>
  522. <tr>
  523. <td><a class="xref" href="Terminal.Gui.Point.html">Point</a></td>
  524. <td><span class="parametername">pt</span></td>
  525. <td></td>
  526. </tr>
  527. <tr>
  528. <td><a class="xref" href="Terminal.Gui.Size.html">Size</a></td>
  529. <td><span class="parametername">sz</span></td>
  530. <td></td>
  531. </tr>
  532. </tbody>
  533. </table>
  534. <h5 class="returns">Returns</h5>
  535. <table class="table table-bordered table-striped table-condensed">
  536. <thead>
  537. <tr>
  538. <th>Type</th>
  539. <th>Description</th>
  540. </tr>
  541. </thead>
  542. <tbody>
  543. <tr>
  544. <td><a class="xref" href="Terminal.Gui.Point.html">Point</a></td>
  545. <td></td>
  546. </tr>
  547. </tbody>
  548. </table>
  549. <a id="Terminal_Gui_Point_op_Equality_" data-uid="Terminal.Gui.Point.op_Equality*"></a>
  550. <h4 id="Terminal_Gui_Point_op_Equality_Terminal_Gui_Point_Terminal_Gui_Point_" data-uid="Terminal.Gui.Point.op_Equality(Terminal.Gui.Point,Terminal.Gui.Point)">Equality(Point, Point)</h4>
  551. <div class="markdown level1 summary">
  552. Equality Operator
  553. </div>
  554. <div class="markdown level1 conceptual"></div>
  555. <h5 class="decalaration">Declaration</h5>
  556. <div class="codewrapper">
  557. <pre><code class="lang-csharp hljs">public static bool operator ==(Point left, Point right)</code></pre>
  558. </div>
  559. <h5 class="parameters">Parameters</h5>
  560. <table class="table table-bordered table-striped table-condensed">
  561. <thead>
  562. <tr>
  563. <th>Type</th>
  564. <th>Name</th>
  565. <th>Description</th>
  566. </tr>
  567. </thead>
  568. <tbody>
  569. <tr>
  570. <td><a class="xref" href="Terminal.Gui.Point.html">Point</a></td>
  571. <td><span class="parametername">left</span></td>
  572. <td></td>
  573. </tr>
  574. <tr>
  575. <td><a class="xref" href="Terminal.Gui.Point.html">Point</a></td>
  576. <td><span class="parametername">right</span></td>
  577. <td></td>
  578. </tr>
  579. </tbody>
  580. </table>
  581. <h5 class="returns">Returns</h5>
  582. <table class="table table-bordered table-striped table-condensed">
  583. <thead>
  584. <tr>
  585. <th>Type</th>
  586. <th>Description</th>
  587. </tr>
  588. </thead>
  589. <tbody>
  590. <tr>
  591. <td><span class="xref">System.Boolean</span></td>
  592. <td></td>
  593. </tr>
  594. </tbody>
  595. </table>
  596. <a id="Terminal_Gui_Point_op_Explicit_" data-uid="Terminal.Gui.Point.op_Explicit*"></a>
  597. <h4 id="Terminal_Gui_Point_op_Explicit_Terminal_Gui_Point__Terminal_Gui_Size" data-uid="Terminal.Gui.Point.op_Explicit(Terminal.Gui.Point)~Terminal.Gui.Size">Explicit(Point to Size)</h4>
  598. <div class="markdown level1 summary">
  599. Point to Size Conversion
  600. </div>
  601. <div class="markdown level1 conceptual"></div>
  602. <h5 class="decalaration">Declaration</h5>
  603. <div class="codewrapper">
  604. <pre><code class="lang-csharp hljs">public static explicit operator Size(Point p)</code></pre>
  605. </div>
  606. <h5 class="parameters">Parameters</h5>
  607. <table class="table table-bordered table-striped table-condensed">
  608. <thead>
  609. <tr>
  610. <th>Type</th>
  611. <th>Name</th>
  612. <th>Description</th>
  613. </tr>
  614. </thead>
  615. <tbody>
  616. <tr>
  617. <td><a class="xref" href="Terminal.Gui.Point.html">Point</a></td>
  618. <td><span class="parametername">p</span></td>
  619. <td></td>
  620. </tr>
  621. </tbody>
  622. </table>
  623. <h5 class="returns">Returns</h5>
  624. <table class="table table-bordered table-striped table-condensed">
  625. <thead>
  626. <tr>
  627. <th>Type</th>
  628. <th>Description</th>
  629. </tr>
  630. </thead>
  631. <tbody>
  632. <tr>
  633. <td><a class="xref" href="Terminal.Gui.Size.html">Size</a></td>
  634. <td></td>
  635. </tr>
  636. </tbody>
  637. </table>
  638. <a id="Terminal_Gui_Point_op_Inequality_" data-uid="Terminal.Gui.Point.op_Inequality*"></a>
  639. <h4 id="Terminal_Gui_Point_op_Inequality_Terminal_Gui_Point_Terminal_Gui_Point_" data-uid="Terminal.Gui.Point.op_Inequality(Terminal.Gui.Point,Terminal.Gui.Point)">Inequality(Point, Point)</h4>
  640. <div class="markdown level1 summary">
  641. Inequality Operator
  642. </div>
  643. <div class="markdown level1 conceptual"></div>
  644. <h5 class="decalaration">Declaration</h5>
  645. <div class="codewrapper">
  646. <pre><code class="lang-csharp hljs">public static bool operator !=(Point left, Point right)</code></pre>
  647. </div>
  648. <h5 class="parameters">Parameters</h5>
  649. <table class="table table-bordered table-striped table-condensed">
  650. <thead>
  651. <tr>
  652. <th>Type</th>
  653. <th>Name</th>
  654. <th>Description</th>
  655. </tr>
  656. </thead>
  657. <tbody>
  658. <tr>
  659. <td><a class="xref" href="Terminal.Gui.Point.html">Point</a></td>
  660. <td><span class="parametername">left</span></td>
  661. <td></td>
  662. </tr>
  663. <tr>
  664. <td><a class="xref" href="Terminal.Gui.Point.html">Point</a></td>
  665. <td><span class="parametername">right</span></td>
  666. <td></td>
  667. </tr>
  668. </tbody>
  669. </table>
  670. <h5 class="returns">Returns</h5>
  671. <table class="table table-bordered table-striped table-condensed">
  672. <thead>
  673. <tr>
  674. <th>Type</th>
  675. <th>Description</th>
  676. </tr>
  677. </thead>
  678. <tbody>
  679. <tr>
  680. <td><span class="xref">System.Boolean</span></td>
  681. <td></td>
  682. </tr>
  683. </tbody>
  684. </table>
  685. <a id="Terminal_Gui_Point_op_Subtraction_" data-uid="Terminal.Gui.Point.op_Subtraction*"></a>
  686. <h4 id="Terminal_Gui_Point_op_Subtraction_Terminal_Gui_Point_Terminal_Gui_Size_" data-uid="Terminal.Gui.Point.op_Subtraction(Terminal.Gui.Point,Terminal.Gui.Size)">Subtraction(Point, Size)</h4>
  687. <div class="markdown level1 summary">
  688. Subtraction Operator
  689. </div>
  690. <div class="markdown level1 conceptual"></div>
  691. <h5 class="decalaration">Declaration</h5>
  692. <div class="codewrapper">
  693. <pre><code class="lang-csharp hljs">public static Point operator -(Point pt, Size sz)</code></pre>
  694. </div>
  695. <h5 class="parameters">Parameters</h5>
  696. <table class="table table-bordered table-striped table-condensed">
  697. <thead>
  698. <tr>
  699. <th>Type</th>
  700. <th>Name</th>
  701. <th>Description</th>
  702. </tr>
  703. </thead>
  704. <tbody>
  705. <tr>
  706. <td><a class="xref" href="Terminal.Gui.Point.html">Point</a></td>
  707. <td><span class="parametername">pt</span></td>
  708. <td></td>
  709. </tr>
  710. <tr>
  711. <td><a class="xref" href="Terminal.Gui.Size.html">Size</a></td>
  712. <td><span class="parametername">sz</span></td>
  713. <td></td>
  714. </tr>
  715. </tbody>
  716. </table>
  717. <h5 class="returns">Returns</h5>
  718. <table class="table table-bordered table-striped table-condensed">
  719. <thead>
  720. <tr>
  721. <th>Type</th>
  722. <th>Description</th>
  723. </tr>
  724. </thead>
  725. <tbody>
  726. <tr>
  727. <td><a class="xref" href="Terminal.Gui.Point.html">Point</a></td>
  728. <td></td>
  729. </tr>
  730. </tbody>
  731. </table>
  732. </article>
  733. </div>
  734. <div class="hidden-sm col-md-2" role="complementary">
  735. <div class="sideaffix">
  736. <div class="contribution">
  737. <ul class="nav">
  738. </ul>
  739. </div>
  740. <nav class="bs-docs-sidebar hidden-print hidden-xs hidden-sm affix" id="affix">
  741. <h5>In This Article</h5>
  742. <div></div>
  743. </nav>
  744. </div>
  745. </div>
  746. </div>
  747. </div>
  748. <footer>
  749. <div class="grad-bottom"></div>
  750. <div class="footer">
  751. <div class="container">
  752. <span class="pull-right">
  753. <a href="#top">Back to top</a>
  754. </span>
  755. <span>Generated by <strong>DocFX</strong></span>
  756. </div>
  757. </div>
  758. </footer>
  759. </div>
  760. <script type="text/javascript" src="../../styles/docfx.vendor.js"></script>
  761. <script type="text/javascript" src="../../styles/docfx.js"></script>
  762. <script type="text/javascript" src="../../styles/main.js"></script>
  763. </body>
  764. </html>