2
0

Terminal.Gui.Point.html 41 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919
  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 Point
  8. </title>
  9. <meta name="viewport" content="width=device-width">
  10. <meta name="title" content="Struct Point
  11. ">
  12. <link rel="shortcut icon" href="../../favicon.ico">
  13. <link rel="stylesheet" href="../../styles/docfx.vendor.min.css">
  14. <link rel="stylesheet" href="../../styles/docfx.css">
  15. <link rel="stylesheet" href="../../styles/main.css">
  16. <meta property="docfx:navrel" content="../../toc.html">
  17. <meta property="docfx:tocrel" content="toc.html">
  18. <meta property="docfx:rel" content="../../">
  19. </head>
  20. <body data-spy="scroll" data-target="#affix" data-offset="120">
  21. <div id="wrapper">
  22. <header>
  23. <nav id="autocollapse" class="navbar navbar-inverse ng-scope" role="navigation">
  24. <div class="container">
  25. <div class="navbar-header">
  26. <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#navbar">
  27. <span class="sr-only">Toggle navigation</span>
  28. <span class="icon-bar"></span>
  29. <span class="icon-bar"></span>
  30. <span class="icon-bar"></span>
  31. </button>
  32. <a class="navbar-brand" href="../../index.html">
  33. <img id="logo" class="svg" src="../../images/logo48.png" alt="">
  34. </a>
  35. </div>
  36. <div class="collapse navbar-collapse" id="navbar">
  37. <form class="navbar-form navbar-right" role="search" id="search">
  38. <div class="form-group">
  39. <input type="text" class="form-control" id="search-query" placeholder="Search" autocomplete="off">
  40. </div>
  41. </form>
  42. </div>
  43. </div>
  44. </nav>
  45. <div class="subnav navbar navbar-default">
  46. <div class="container hide-when-search" id="breadcrumb">
  47. <ul class="breadcrumb">
  48. <li></li>
  49. </ul>
  50. </div>
  51. </div>
  52. </header>
  53. <div class="container body-content">
  54. <div id="search-results">
  55. <div class="search-list">Search Results for <span></span></div>
  56. <div class="sr-items">
  57. <p><i class="glyphicon glyphicon-refresh index-loading"></i></p>
  58. </div>
  59. <ul id="pagination" data-first="First" data-prev="Previous" data-next="Next" data-last="Last"></ul>
  60. </div>
  61. </div>
  62. <div role="main" class="container body-content hide-when-search">
  63. <div class="sidenav hide-when-search">
  64. <a class="btn toc-toggle collapse" data-toggle="collapse" href="#sidetoggle" aria-expanded="false" aria-controls="sidetoggle">Show / Hide Table of Contents</a>
  65. <div class="sidetoggle collapse" id="sidetoggle">
  66. <div id="sidetoc"></div>
  67. </div>
  68. </div>
  69. <div class="article row grid-right">
  70. <div class="col-md-10">
  71. <article class="content wrap" id="_content" data-uid="Terminal.Gui.Point">
  72. <h1 id="Terminal_Gui_Point" data-uid="Terminal.Gui.Point" class="text-break">Struct Point
  73. </h1>
  74. <div class="markdown level0 summary">Represents an ordered pair of integer x- and y-coordinates that defines a point in a two-dimensional plane.</div>
  75. <div class="markdown level0 conceptual"></div>
  76. <div class="inheritedMembers">
  77. <h5>Inherited Members</h5>
  78. <div>
  79. <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object-system-object)">object.Equals(object, object)</a>
  80. </div>
  81. <div>
  82. <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.gettype">object.GetType()</a>
  83. </div>
  84. <div>
  85. <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.referenceequals">object.ReferenceEquals(object, object)</a>
  86. </div>
  87. </div>
  88. <h6><strong>Namespace</strong>: <a class="xref" href="Terminal.html">Terminal</a>.<a class="xref" href="Terminal.Gui.html">Gui</a></h6>
  89. <h6><strong>Assembly</strong>: Terminal.Gui.dll</h6>
  90. <h5 id="Terminal_Gui_Point_syntax">Syntax</h5>
  91. <div class="codewrapper">
  92. <pre><code class="lang-csharp hljs">public struct Point</code></pre>
  93. </div>
  94. <h3 id="constructors">Constructors
  95. </h3>
  96. <span class="small pull-right mobile-hide">
  97. <span class="divider">|</span>
  98. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/docfx/overrides/new?filename=Terminal_Gui_Point__ctor_System_Int32_System_Int32_.md&amp;value=---%0Auid%3A%20Terminal.Gui.Point.%23ctor(System.Int32%2CSystem.Int32)%0Asummary%3A%20&#39;*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax&#39;%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Edit this page</a>
  99. </span>
  100. <span class="small pull-right mobile-hide">
  101. <a href="tig:tig/Terminal.Gui/blob/v2_develop/Terminal.Gui/Types/Point.cs/#L145">View Source</a>
  102. </span>
  103. <a id="Terminal_Gui_Point__ctor_" data-uid="Terminal.Gui.Point.#ctor*"></a>
  104. <h4 id="Terminal_Gui_Point__ctor_System_Int32_System_Int32_" data-uid="Terminal.Gui.Point.#ctor(System.Int32,System.Int32)">Point(int, int)</h4>
  105. <div class="markdown level1 summary">Point Constructor</div>
  106. <div class="markdown level1 conceptual"></div>
  107. <h5 class="declaration">Declaration</h5>
  108. <div class="codewrapper">
  109. <pre><code class="lang-csharp hljs">public Point(int x, int y)</code></pre>
  110. </div>
  111. <h5 class="parameters">Parameters</h5>
  112. <table class="table table-bordered table-condensed">
  113. <thead>
  114. <tr>
  115. <th>Type</th>
  116. <th>Name</th>
  117. <th>Description</th>
  118. </tr>
  119. </thead>
  120. <tbody>
  121. <tr>
  122. <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
  123. <td><span class="parametername">x</span></td>
  124. <td></td>
  125. </tr>
  126. <tr>
  127. <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
  128. <td><span class="parametername">y</span></td>
  129. <td></td>
  130. </tr>
  131. </tbody>
  132. </table>
  133. <h5 id="Terminal_Gui_Point__ctor_System_Int32_System_Int32__remarks">Remarks</h5>
  134. <div class="markdown level1 remarks">Creates a Point from a specified x,y coordinate pair.</div>
  135. <span class="small pull-right mobile-hide">
  136. <span class="divider">|</span>
  137. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/docfx/overrides/new?filename=Terminal_Gui_Point__ctor_Terminal_Gui_Size_.md&amp;value=---%0Auid%3A%20Terminal.Gui.Point.%23ctor(Terminal.Gui.Size)%0Asummary%3A%20&#39;*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax&#39;%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Edit this page</a>
  138. </span>
  139. <span class="small pull-right mobile-hide">
  140. <a href="tig:tig/Terminal.Gui/blob/v2_develop/Terminal.Gui/Types/Point.cs/#L131">View Source</a>
  141. </span>
  142. <a id="Terminal_Gui_Point__ctor_" data-uid="Terminal.Gui.Point.#ctor*"></a>
  143. <h4 id="Terminal_Gui_Point__ctor_Terminal_Gui_Size_" data-uid="Terminal.Gui.Point.#ctor(Terminal.Gui.Size)">Point(Size)</h4>
  144. <div class="markdown level1 summary">Point Constructor</div>
  145. <div class="markdown level1 conceptual"></div>
  146. <h5 class="declaration">Declaration</h5>
  147. <div class="codewrapper">
  148. <pre><code class="lang-csharp hljs">public Point(Size sz)</code></pre>
  149. </div>
  150. <h5 class="parameters">Parameters</h5>
  151. <table class="table table-bordered table-condensed">
  152. <thead>
  153. <tr>
  154. <th>Type</th>
  155. <th>Name</th>
  156. <th>Description</th>
  157. </tr>
  158. </thead>
  159. <tbody>
  160. <tr>
  161. <td><a class="xref" href="Terminal.Gui.Size.html">Size</a></td>
  162. <td><span class="parametername">sz</span></td>
  163. <td></td>
  164. </tr>
  165. </tbody>
  166. </table>
  167. <h5 id="Terminal_Gui_Point__ctor_Terminal_Gui_Size__remarks">Remarks</h5>
  168. <div class="markdown level1 remarks">Creates a Point from a Size value.</div>
  169. <h3 id="fields">Fields
  170. </h3>
  171. <span class="small pull-right mobile-hide">
  172. <span class="divider">|</span>
  173. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/docfx/overrides/new?filename=Terminal_Gui_Point_Empty.md&amp;value=---%0Auid%3A%20Terminal.Gui.Point.Empty%0Asummary%3A%20&#39;*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax&#39;%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Edit this page</a>
  174. </span>
  175. <span class="small pull-right mobile-hide">
  176. <a href="tig:tig/Terminal.Gui/blob/v2_develop/Terminal.Gui/Types/Point.cs/#L43">View Source</a>
  177. </span>
  178. <h4 id="Terminal_Gui_Point_Empty" data-uid="Terminal.Gui.Point.Empty">Empty</h4>
  179. <div class="markdown level1 summary">Empty Shared Field</div>
  180. <div class="markdown level1 conceptual"></div>
  181. <h5 class="declaration">Declaration</h5>
  182. <div class="codewrapper">
  183. <pre><code class="lang-csharp hljs">public static readonly Point Empty</code></pre>
  184. </div>
  185. <h5 class="fieldValue">Field Value</h5>
  186. <table class="table table-bordered table-condensed">
  187. <thead>
  188. <tr>
  189. <th>Type</th>
  190. <th>Description</th>
  191. </tr>
  192. </thead>
  193. <tbody>
  194. <tr>
  195. <td><a class="xref" href="Terminal.Gui.Point.html">Point</a></td>
  196. <td></td>
  197. </tr>
  198. </tbody>
  199. </table>
  200. <h5 id="Terminal_Gui_Point_Empty_remarks">Remarks</h5>
  201. <div class="markdown level1 remarks">An uninitialized Point Structure.</div>
  202. <span class="small pull-right mobile-hide">
  203. <span class="divider">|</span>
  204. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/docfx/overrides/new?filename=Terminal_Gui_Point_X.md&amp;value=---%0Auid%3A%20Terminal.Gui.Point.X%0Asummary%3A%20&#39;*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax&#39;%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Edit this page</a>
  205. </span>
  206. <span class="small pull-right mobile-hide">
  207. <a href="tig:tig/Terminal.Gui/blob/v2_develop/Terminal.Gui/Types/Point.cs/#L24">View Source</a>
  208. </span>
  209. <h4 id="Terminal_Gui_Point_X" data-uid="Terminal.Gui.Point.X">X</h4>
  210. <div class="markdown level1 summary">Gets or sets the x-coordinate of this Point.</div>
  211. <div class="markdown level1 conceptual"></div>
  212. <h5 class="declaration">Declaration</h5>
  213. <div class="codewrapper">
  214. <pre><code class="lang-csharp hljs">public int X</code></pre>
  215. </div>
  216. <h5 class="fieldValue">Field Value</h5>
  217. <table class="table table-bordered table-condensed">
  218. <thead>
  219. <tr>
  220. <th>Type</th>
  221. <th>Description</th>
  222. </tr>
  223. </thead>
  224. <tbody>
  225. <tr>
  226. <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
  227. <td></td>
  228. </tr>
  229. </tbody>
  230. </table>
  231. <span class="small pull-right mobile-hide">
  232. <span class="divider">|</span>
  233. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/docfx/overrides/new?filename=Terminal_Gui_Point_Y.md&amp;value=---%0Auid%3A%20Terminal.Gui.Point.Y%0Asummary%3A%20&#39;*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax&#39;%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Edit this page</a>
  234. </span>
  235. <span class="small pull-right mobile-hide">
  236. <a href="tig:tig/Terminal.Gui/blob/v2_develop/Terminal.Gui/Types/Point.cs/#L29">View Source</a>
  237. </span>
  238. <h4 id="Terminal_Gui_Point_Y" data-uid="Terminal.Gui.Point.Y">Y</h4>
  239. <div class="markdown level1 summary">Gets or sets the y-coordinate of this Point.</div>
  240. <div class="markdown level1 conceptual"></div>
  241. <h5 class="declaration">Declaration</h5>
  242. <div class="codewrapper">
  243. <pre><code class="lang-csharp hljs">public int Y</code></pre>
  244. </div>
  245. <h5 class="fieldValue">Field Value</h5>
  246. <table class="table table-bordered table-condensed">
  247. <thead>
  248. <tr>
  249. <th>Type</th>
  250. <th>Description</th>
  251. </tr>
  252. </thead>
  253. <tbody>
  254. <tr>
  255. <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
  256. <td></td>
  257. </tr>
  258. </tbody>
  259. </table>
  260. <h3 id="properties">Properties
  261. </h3>
  262. <span class="small pull-right mobile-hide">
  263. <span class="divider">|</span>
  264. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/docfx/overrides/new?filename=Terminal_Gui_Point_IsEmpty.md&amp;value=---%0Auid%3A%20Terminal.Gui.Point.IsEmpty%0Asummary%3A%20&#39;*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax&#39;%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Edit this page</a>
  265. </span>
  266. <span class="small pull-right mobile-hide">
  267. <a href="tig:tig/Terminal.Gui/blob/v2_develop/Terminal.Gui/Types/Point.cs/#L162">View Source</a>
  268. </span>
  269. <a id="Terminal_Gui_Point_IsEmpty_" data-uid="Terminal.Gui.Point.IsEmpty*"></a>
  270. <h4 id="Terminal_Gui_Point_IsEmpty" data-uid="Terminal.Gui.Point.IsEmpty">IsEmpty</h4>
  271. <div class="markdown level1 summary">IsEmpty Property</div>
  272. <div class="markdown level1 conceptual"></div>
  273. <h5 class="declaration">Declaration</h5>
  274. <div class="codewrapper">
  275. <pre><code class="lang-csharp hljs">public bool IsEmpty { get; }</code></pre>
  276. </div>
  277. <h5 class="propertyValue">Property Value</h5>
  278. <table class="table table-bordered table-condensed">
  279. <thead>
  280. <tr>
  281. <th>Type</th>
  282. <th>Description</th>
  283. </tr>
  284. </thead>
  285. <tbody>
  286. <tr>
  287. <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
  288. <td></td>
  289. </tr>
  290. </tbody>
  291. </table>
  292. <h5 id="Terminal_Gui_Point_IsEmpty_remarks">Remarks</h5>
  293. <div class="markdown level1 remarks">Indicates if both X and Y are zero.</div>
  294. <h3 id="methods">Methods
  295. </h3>
  296. <span class="small pull-right mobile-hide">
  297. <span class="divider">|</span>
  298. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/docfx/overrides/new?filename=Terminal_Gui_Point_Add_Terminal_Gui_Point_Terminal_Gui_Size_.md&amp;value=---%0Auid%3A%20Terminal.Gui.Point.Add(Terminal.Gui.Point%2CTerminal.Gui.Size)%0Asummary%3A%20&#39;*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax&#39;%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Edit this page</a>
  299. </span>
  300. <span class="small pull-right mobile-hide">
  301. <a href="tig:tig/Terminal.Gui/blob/v2_develop/Terminal.Gui/Types/Point.cs/#L231">View Source</a>
  302. </span>
  303. <a id="Terminal_Gui_Point_Add_" data-uid="Terminal.Gui.Point.Add*"></a>
  304. <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>
  305. <div class="markdown level1 summary">Adds the specified Size to the specified Point.</div>
  306. <div class="markdown level1 conceptual"></div>
  307. <h5 class="declaration">Declaration</h5>
  308. <div class="codewrapper">
  309. <pre><code class="lang-csharp hljs">public static Point Add(Point pt, Size sz)</code></pre>
  310. </div>
  311. <h5 class="parameters">Parameters</h5>
  312. <table class="table table-bordered table-condensed">
  313. <thead>
  314. <tr>
  315. <th>Type</th>
  316. <th>Name</th>
  317. <th>Description</th>
  318. </tr>
  319. </thead>
  320. <tbody>
  321. <tr>
  322. <td><a class="xref" href="Terminal.Gui.Point.html">Point</a></td>
  323. <td><span class="parametername">pt</span></td>
  324. <td>The Point to add.</td>
  325. </tr>
  326. <tr>
  327. <td><a class="xref" href="Terminal.Gui.Size.html">Size</a></td>
  328. <td><span class="parametername">sz</span></td>
  329. <td>The Size to add.</td>
  330. </tr>
  331. </tbody>
  332. </table>
  333. <h5 class="returns">Returns</h5>
  334. <table class="table table-bordered table-condensed">
  335. <thead>
  336. <tr>
  337. <th>Type</th>
  338. <th>Description</th>
  339. </tr>
  340. </thead>
  341. <tbody>
  342. <tr>
  343. <td><a class="xref" href="Terminal.Gui.Point.html">Point</a></td>
  344. <td>The Point that is the result of the addition operation.</td>
  345. </tr>
  346. </tbody>
  347. </table>
  348. <span class="small pull-right mobile-hide">
  349. <span class="divider">|</span>
  350. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/docfx/overrides/new?filename=Terminal_Gui_Point_Equals_System_Object_.md&amp;value=---%0Auid%3A%20Terminal.Gui.Point.Equals(System.Object)%0Asummary%3A%20&#39;*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax&#39;%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Edit this page</a>
  351. </span>
  352. <span class="small pull-right mobile-hide">
  353. <a href="tig:tig/Terminal.Gui/blob/v2_develop/Terminal.Gui/Types/Point.cs/#L176">View Source</a>
  354. </span>
  355. <a id="Terminal_Gui_Point_Equals_" data-uid="Terminal.Gui.Point.Equals*"></a>
  356. <h4 id="Terminal_Gui_Point_Equals_System_Object_" data-uid="Terminal.Gui.Point.Equals(System.Object)">Equals(object)</h4>
  357. <div class="markdown level1 summary">Equals Method</div>
  358. <div class="markdown level1 conceptual"></div>
  359. <h5 class="declaration">Declaration</h5>
  360. <div class="codewrapper">
  361. <pre><code class="lang-csharp hljs">public override bool Equals(object obj)</code></pre>
  362. </div>
  363. <h5 class="parameters">Parameters</h5>
  364. <table class="table table-bordered table-condensed">
  365. <thead>
  366. <tr>
  367. <th>Type</th>
  368. <th>Name</th>
  369. <th>Description</th>
  370. </tr>
  371. </thead>
  372. <tbody>
  373. <tr>
  374. <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a></td>
  375. <td><span class="parametername">obj</span></td>
  376. <td></td>
  377. </tr>
  378. </tbody>
  379. </table>
  380. <h5 class="returns">Returns</h5>
  381. <table class="table table-bordered table-condensed">
  382. <thead>
  383. <tr>
  384. <th>Type</th>
  385. <th>Description</th>
  386. </tr>
  387. </thead>
  388. <tbody>
  389. <tr>
  390. <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
  391. <td></td>
  392. </tr>
  393. </tbody>
  394. </table>
  395. <h5 class="overrides">Overrides</h5>
  396. <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.valuetype.equals">ValueType.Equals(object)</a></div>
  397. <h5 id="Terminal_Gui_Point_Equals_System_Object__remarks">Remarks</h5>
  398. <div class="markdown level1 remarks">Checks equivalence of this Point and another object.</div>
  399. <span class="small pull-right mobile-hide">
  400. <span class="divider">|</span>
  401. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/docfx/overrides/new?filename=Terminal_Gui_Point_GetHashCode.md&amp;value=---%0Auid%3A%20Terminal.Gui.Point.GetHashCode%0Asummary%3A%20&#39;*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax&#39;%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Edit this page</a>
  402. </span>
  403. <span class="small pull-right mobile-hide">
  404. <a href="tig:tig/Terminal.Gui/blob/v2_develop/Terminal.Gui/Types/Point.cs/#L192">View Source</a>
  405. </span>
  406. <a id="Terminal_Gui_Point_GetHashCode_" data-uid="Terminal.Gui.Point.GetHashCode*"></a>
  407. <h4 id="Terminal_Gui_Point_GetHashCode" data-uid="Terminal.Gui.Point.GetHashCode">GetHashCode()</h4>
  408. <div class="markdown level1 summary">GetHashCode Method</div>
  409. <div class="markdown level1 conceptual"></div>
  410. <h5 class="declaration">Declaration</h5>
  411. <div class="codewrapper">
  412. <pre><code class="lang-csharp hljs">public override int GetHashCode()</code></pre>
  413. </div>
  414. <h5 class="returns">Returns</h5>
  415. <table class="table table-bordered table-condensed">
  416. <thead>
  417. <tr>
  418. <th>Type</th>
  419. <th>Description</th>
  420. </tr>
  421. </thead>
  422. <tbody>
  423. <tr>
  424. <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
  425. <td></td>
  426. </tr>
  427. </tbody>
  428. </table>
  429. <h5 class="overrides">Overrides</h5>
  430. <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.valuetype.gethashcode">ValueType.GetHashCode()</a></div>
  431. <h5 id="Terminal_Gui_Point_GetHashCode_remarks">Remarks</h5>
  432. <div class="markdown level1 remarks">Calculates a hashing value.</div>
  433. <span class="small pull-right mobile-hide">
  434. <span class="divider">|</span>
  435. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/docfx/overrides/new?filename=Terminal_Gui_Point_Offset_System_Int32_System_Int32_.md&amp;value=---%0Auid%3A%20Terminal.Gui.Point.Offset(System.Int32%2CSystem.Int32)%0Asummary%3A%20&#39;*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax&#39;%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Edit this page</a>
  436. </span>
  437. <span class="small pull-right mobile-hide">
  438. <a href="tig:tig/Terminal.Gui/blob/v2_develop/Terminal.Gui/Types/Point.cs/#L205">View Source</a>
  439. </span>
  440. <a id="Terminal_Gui_Point_Offset_" data-uid="Terminal.Gui.Point.Offset*"></a>
  441. <h4 id="Terminal_Gui_Point_Offset_System_Int32_System_Int32_" data-uid="Terminal.Gui.Point.Offset(System.Int32,System.Int32)">Offset(int, int)</h4>
  442. <div class="markdown level1 summary">Offset Method</div>
  443. <div class="markdown level1 conceptual"></div>
  444. <h5 class="declaration">Declaration</h5>
  445. <div class="codewrapper">
  446. <pre><code class="lang-csharp hljs">public void Offset(int dx, int dy)</code></pre>
  447. </div>
  448. <h5 class="parameters">Parameters</h5>
  449. <table class="table table-bordered table-condensed">
  450. <thead>
  451. <tr>
  452. <th>Type</th>
  453. <th>Name</th>
  454. <th>Description</th>
  455. </tr>
  456. </thead>
  457. <tbody>
  458. <tr>
  459. <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
  460. <td><span class="parametername">dx</span></td>
  461. <td></td>
  462. </tr>
  463. <tr>
  464. <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
  465. <td><span class="parametername">dy</span></td>
  466. <td></td>
  467. </tr>
  468. </tbody>
  469. </table>
  470. <h5 id="Terminal_Gui_Point_Offset_System_Int32_System_Int32__remarks">Remarks</h5>
  471. <div class="markdown level1 remarks">Moves the Point a specified distance.</div>
  472. <span class="small pull-right mobile-hide">
  473. <span class="divider">|</span>
  474. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/docfx/overrides/new?filename=Terminal_Gui_Point_Offset_Terminal_Gui_Point_.md&amp;value=---%0Auid%3A%20Terminal.Gui.Point.Offset(Terminal.Gui.Point)%0Asummary%3A%20&#39;*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax&#39;%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Edit this page</a>
  475. </span>
  476. <span class="small pull-right mobile-hide">
  477. <a href="tig:tig/Terminal.Gui/blob/v2_develop/Terminal.Gui/Types/Point.cs/#L241">View Source</a>
  478. </span>
  479. <a id="Terminal_Gui_Point_Offset_" data-uid="Terminal.Gui.Point.Offset*"></a>
  480. <h4 id="Terminal_Gui_Point_Offset_Terminal_Gui_Point_" data-uid="Terminal.Gui.Point.Offset(Terminal.Gui.Point)">Offset(Point)</h4>
  481. <div class="markdown level1 summary">Translates this Point by the specified Point.</div>
  482. <div class="markdown level1 conceptual"></div>
  483. <h5 class="declaration">Declaration</h5>
  484. <div class="codewrapper">
  485. <pre><code class="lang-csharp hljs">public void Offset(Point p)</code></pre>
  486. </div>
  487. <h5 class="parameters">Parameters</h5>
  488. <table class="table table-bordered table-condensed">
  489. <thead>
  490. <tr>
  491. <th>Type</th>
  492. <th>Name</th>
  493. <th>Description</th>
  494. </tr>
  495. </thead>
  496. <tbody>
  497. <tr>
  498. <td><a class="xref" href="Terminal.Gui.Point.html">Point</a></td>
  499. <td><span class="parametername">p</span></td>
  500. <td>The Point used offset this Point.</td>
  501. </tr>
  502. </tbody>
  503. </table>
  504. <span class="small pull-right mobile-hide">
  505. <span class="divider">|</span>
  506. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/docfx/overrides/new?filename=Terminal_Gui_Point_Subtract_Terminal_Gui_Point_Terminal_Gui_Size_.md&amp;value=---%0Auid%3A%20Terminal.Gui.Point.Subtract(Terminal.Gui.Point%2CTerminal.Gui.Size)%0Asummary%3A%20&#39;*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax&#39;%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Edit this page</a>
  507. </span>
  508. <span class="small pull-right mobile-hide">
  509. <a href="tig:tig/Terminal.Gui/blob/v2_develop/Terminal.Gui/Types/Point.cs/#L252">View Source</a>
  510. </span>
  511. <a id="Terminal_Gui_Point_Subtract_" data-uid="Terminal.Gui.Point.Subtract*"></a>
  512. <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>
  513. <div class="markdown level1 summary">Returns the result of subtracting specified Size from the specified Point.</div>
  514. <div class="markdown level1 conceptual"></div>
  515. <h5 class="declaration">Declaration</h5>
  516. <div class="codewrapper">
  517. <pre><code class="lang-csharp hljs">public static Point Subtract(Point pt, Size sz)</code></pre>
  518. </div>
  519. <h5 class="parameters">Parameters</h5>
  520. <table class="table table-bordered table-condensed">
  521. <thead>
  522. <tr>
  523. <th>Type</th>
  524. <th>Name</th>
  525. <th>Description</th>
  526. </tr>
  527. </thead>
  528. <tbody>
  529. <tr>
  530. <td><a class="xref" href="Terminal.Gui.Point.html">Point</a></td>
  531. <td><span class="parametername">pt</span></td>
  532. <td>The Point to be subtracted from.</td>
  533. </tr>
  534. <tr>
  535. <td><a class="xref" href="Terminal.Gui.Size.html">Size</a></td>
  536. <td><span class="parametername">sz</span></td>
  537. <td>The Size to subtract from the Point.</td>
  538. </tr>
  539. </tbody>
  540. </table>
  541. <h5 class="returns">Returns</h5>
  542. <table class="table table-bordered table-condensed">
  543. <thead>
  544. <tr>
  545. <th>Type</th>
  546. <th>Description</th>
  547. </tr>
  548. </thead>
  549. <tbody>
  550. <tr>
  551. <td><a class="xref" href="Terminal.Gui.Point.html">Point</a></td>
  552. <td>The Point that is the result of the subtraction operation.</td>
  553. </tr>
  554. </tbody>
  555. </table>
  556. <span class="small pull-right mobile-hide">
  557. <span class="divider">|</span>
  558. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/docfx/overrides/new?filename=Terminal_Gui_Point_ToString.md&amp;value=---%0Auid%3A%20Terminal.Gui.Point.ToString%0Asummary%3A%20&#39;*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax&#39;%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Edit this page</a>
  559. </span>
  560. <span class="small pull-right mobile-hide">
  561. <a href="tig:tig/Terminal.Gui/blob/v2_develop/Terminal.Gui/Types/Point.cs/#L219">View Source</a>
  562. </span>
  563. <a id="Terminal_Gui_Point_ToString_" data-uid="Terminal.Gui.Point.ToString*"></a>
  564. <h4 id="Terminal_Gui_Point_ToString" data-uid="Terminal.Gui.Point.ToString">ToString()</h4>
  565. <div class="markdown level1 summary">ToString Method</div>
  566. <div class="markdown level1 conceptual"></div>
  567. <h5 class="declaration">Declaration</h5>
  568. <div class="codewrapper">
  569. <pre><code class="lang-csharp hljs">public override string ToString()</code></pre>
  570. </div>
  571. <h5 class="returns">Returns</h5>
  572. <table class="table table-bordered table-condensed">
  573. <thead>
  574. <tr>
  575. <th>Type</th>
  576. <th>Description</th>
  577. </tr>
  578. </thead>
  579. <tbody>
  580. <tr>
  581. <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></td>
  582. <td></td>
  583. </tr>
  584. </tbody>
  585. </table>
  586. <h5 class="overrides">Overrides</h5>
  587. <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.valuetype.tostring">ValueType.ToString()</a></div>
  588. <h5 id="Terminal_Gui_Point_ToString_remarks">Remarks</h5>
  589. <div class="markdown level1 remarks">Formats the Point as a string in coordinate notation.</div>
  590. <h3 id="operators">Operators
  591. </h3>
  592. <span class="small pull-right mobile-hide">
  593. <span class="divider">|</span>
  594. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/docfx/overrides/new?filename=Terminal_Gui_Point_op_Addition_Terminal_Gui_Point_Terminal_Gui_Size_.md&amp;value=---%0Auid%3A%20Terminal.Gui.Point.op_Addition(Terminal.Gui.Point%2CTerminal.Gui.Size)%0Asummary%3A%20&#39;*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax&#39;%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Edit this page</a>
  595. </span>
  596. <span class="small pull-right mobile-hide">
  597. <a href="tig:tig/Terminal.Gui/blob/v2_develop/Terminal.Gui/Types/Point.cs/#L54">View Source</a>
  598. </span>
  599. <a id="Terminal_Gui_Point_op_Addition_" data-uid="Terminal.Gui.Point.op_Addition*"></a>
  600. <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)">operator +(Point, Size)</h4>
  601. <div class="markdown level1 summary">Addition Operator</div>
  602. <div class="markdown level1 conceptual"></div>
  603. <h5 class="declaration">Declaration</h5>
  604. <div class="codewrapper">
  605. <pre><code class="lang-csharp hljs">public static Point operator +(Point pt, Size sz)</code></pre>
  606. </div>
  607. <h5 class="parameters">Parameters</h5>
  608. <table class="table table-bordered table-condensed">
  609. <thead>
  610. <tr>
  611. <th>Type</th>
  612. <th>Name</th>
  613. <th>Description</th>
  614. </tr>
  615. </thead>
  616. <tbody>
  617. <tr>
  618. <td><a class="xref" href="Terminal.Gui.Point.html">Point</a></td>
  619. <td><span class="parametername">pt</span></td>
  620. <td></td>
  621. </tr>
  622. <tr>
  623. <td><a class="xref" href="Terminal.Gui.Size.html">Size</a></td>
  624. <td><span class="parametername">sz</span></td>
  625. <td></td>
  626. </tr>
  627. </tbody>
  628. </table>
  629. <h5 class="returns">Returns</h5>
  630. <table class="table table-bordered table-condensed">
  631. <thead>
  632. <tr>
  633. <th>Type</th>
  634. <th>Description</th>
  635. </tr>
  636. </thead>
  637. <tbody>
  638. <tr>
  639. <td><a class="xref" href="Terminal.Gui.Point.html">Point</a></td>
  640. <td></td>
  641. </tr>
  642. </tbody>
  643. </table>
  644. <h5 id="Terminal_Gui_Point_op_Addition_Terminal_Gui_Point_Terminal_Gui_Size__remarks">Remarks</h5>
  645. <div class="markdown level1 remarks">Translates a Point using the Width and Height
  646. properties of the given <typeref>Size</typeref>.</div>
  647. <span class="small pull-right mobile-hide">
  648. <span class="divider">|</span>
  649. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/docfx/overrides/new?filename=Terminal_Gui_Point_op_Equality_Terminal_Gui_Point_Terminal_Gui_Point_.md&amp;value=---%0Auid%3A%20Terminal.Gui.Point.op_Equality(Terminal.Gui.Point%2CTerminal.Gui.Point)%0Asummary%3A%20&#39;*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax&#39;%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Edit this page</a>
  650. </span>
  651. <span class="small pull-right mobile-hide">
  652. <a href="tig:tig/Terminal.Gui/blob/v2_develop/Terminal.Gui/Types/Point.cs/#L69">View Source</a>
  653. </span>
  654. <a id="Terminal_Gui_Point_op_Equality_" data-uid="Terminal.Gui.Point.op_Equality*"></a>
  655. <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)">operator ==(Point, Point)</h4>
  656. <div class="markdown level1 summary">Equality Operator</div>
  657. <div class="markdown level1 conceptual"></div>
  658. <h5 class="declaration">Declaration</h5>
  659. <div class="codewrapper">
  660. <pre><code class="lang-csharp hljs">public static bool operator ==(Point left, Point right)</code></pre>
  661. </div>
  662. <h5 class="parameters">Parameters</h5>
  663. <table class="table table-bordered table-condensed">
  664. <thead>
  665. <tr>
  666. <th>Type</th>
  667. <th>Name</th>
  668. <th>Description</th>
  669. </tr>
  670. </thead>
  671. <tbody>
  672. <tr>
  673. <td><a class="xref" href="Terminal.Gui.Point.html">Point</a></td>
  674. <td><span class="parametername">left</span></td>
  675. <td></td>
  676. </tr>
  677. <tr>
  678. <td><a class="xref" href="Terminal.Gui.Point.html">Point</a></td>
  679. <td><span class="parametername">right</span></td>
  680. <td></td>
  681. </tr>
  682. </tbody>
  683. </table>
  684. <h5 class="returns">Returns</h5>
  685. <table class="table table-bordered table-condensed">
  686. <thead>
  687. <tr>
  688. <th>Type</th>
  689. <th>Description</th>
  690. </tr>
  691. </thead>
  692. <tbody>
  693. <tr>
  694. <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
  695. <td></td>
  696. </tr>
  697. </tbody>
  698. </table>
  699. <h5 id="Terminal_Gui_Point_op_Equality_Terminal_Gui_Point_Terminal_Gui_Point__remarks">Remarks</h5>
  700. <div class="markdown level1 remarks">Compares two Point objects. The return value is
  701. based on the equivalence of the X and Y properties
  702. of the two points.</div>
  703. <span class="small pull-right mobile-hide">
  704. <span class="divider">|</span>
  705. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/docfx/overrides/new?filename=Terminal_Gui_Point_op_Explicit_Terminal_Gui_Point__Terminal_Gui_Size.md&amp;value=---%0Auid%3A%20Terminal.Gui.Point.op_Explicit(Terminal.Gui.Point)~Terminal.Gui.Size%0Asummary%3A%20&#39;*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax&#39;%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Edit this page</a>
  706. </span>
  707. <span class="small pull-right mobile-hide">
  708. <a href="tig:tig/Terminal.Gui/blob/v2_develop/Terminal.Gui/Types/Point.cs/#L112">View Source</a>
  709. </span>
  710. <a id="Terminal_Gui_Point_op_Explicit_" data-uid="Terminal.Gui.Point.op_Explicit*"></a>
  711. <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 operator Size(Point)</h4>
  712. <div class="markdown level1 summary">Point to Size Conversion</div>
  713. <div class="markdown level1 conceptual"></div>
  714. <h5 class="declaration">Declaration</h5>
  715. <div class="codewrapper">
  716. <pre><code class="lang-csharp hljs">public static explicit operator Size(Point p)</code></pre>
  717. </div>
  718. <h5 class="parameters">Parameters</h5>
  719. <table class="table table-bordered table-condensed">
  720. <thead>
  721. <tr>
  722. <th>Type</th>
  723. <th>Name</th>
  724. <th>Description</th>
  725. </tr>
  726. </thead>
  727. <tbody>
  728. <tr>
  729. <td><a class="xref" href="Terminal.Gui.Point.html">Point</a></td>
  730. <td><span class="parametername">p</span></td>
  731. <td></td>
  732. </tr>
  733. </tbody>
  734. </table>
  735. <h5 class="returns">Returns</h5>
  736. <table class="table table-bordered table-condensed">
  737. <thead>
  738. <tr>
  739. <th>Type</th>
  740. <th>Description</th>
  741. </tr>
  742. </thead>
  743. <tbody>
  744. <tr>
  745. <td><a class="xref" href="Terminal.Gui.Size.html">Size</a></td>
  746. <td></td>
  747. </tr>
  748. </tbody>
  749. </table>
  750. <h5 id="Terminal_Gui_Point_op_Explicit_Terminal_Gui_Point__Terminal_Gui_Size_remarks">Remarks</h5>
  751. <div class="markdown level1 remarks">Returns a Size based on the Coordinates of a given
  752. Point. Requires explicit cast.</div>
  753. <span class="small pull-right mobile-hide">
  754. <span class="divider">|</span>
  755. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/docfx/overrides/new?filename=Terminal_Gui_Point_op_Inequality_Terminal_Gui_Point_Terminal_Gui_Point_.md&amp;value=---%0Auid%3A%20Terminal.Gui.Point.op_Inequality(Terminal.Gui.Point%2CTerminal.Gui.Point)%0Asummary%3A%20&#39;*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax&#39;%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Edit this page</a>
  756. </span>
  757. <span class="small pull-right mobile-hide">
  758. <a href="tig:tig/Terminal.Gui/blob/v2_develop/Terminal.Gui/Types/Point.cs/#L84">View Source</a>
  759. </span>
  760. <a id="Terminal_Gui_Point_op_Inequality_" data-uid="Terminal.Gui.Point.op_Inequality*"></a>
  761. <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)">operator !=(Point, Point)</h4>
  762. <div class="markdown level1 summary">Inequality Operator</div>
  763. <div class="markdown level1 conceptual"></div>
  764. <h5 class="declaration">Declaration</h5>
  765. <div class="codewrapper">
  766. <pre><code class="lang-csharp hljs">public static bool operator !=(Point left, Point right)</code></pre>
  767. </div>
  768. <h5 class="parameters">Parameters</h5>
  769. <table class="table table-bordered table-condensed">
  770. <thead>
  771. <tr>
  772. <th>Type</th>
  773. <th>Name</th>
  774. <th>Description</th>
  775. </tr>
  776. </thead>
  777. <tbody>
  778. <tr>
  779. <td><a class="xref" href="Terminal.Gui.Point.html">Point</a></td>
  780. <td><span class="parametername">left</span></td>
  781. <td></td>
  782. </tr>
  783. <tr>
  784. <td><a class="xref" href="Terminal.Gui.Point.html">Point</a></td>
  785. <td><span class="parametername">right</span></td>
  786. <td></td>
  787. </tr>
  788. </tbody>
  789. </table>
  790. <h5 class="returns">Returns</h5>
  791. <table class="table table-bordered table-condensed">
  792. <thead>
  793. <tr>
  794. <th>Type</th>
  795. <th>Description</th>
  796. </tr>
  797. </thead>
  798. <tbody>
  799. <tr>
  800. <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
  801. <td></td>
  802. </tr>
  803. </tbody>
  804. </table>
  805. <h5 id="Terminal_Gui_Point_op_Inequality_Terminal_Gui_Point_Terminal_Gui_Point__remarks">Remarks</h5>
  806. <div class="markdown level1 remarks">Compares two Point objects. The return value is
  807. based on the equivalence of the X and Y properties
  808. of the two points.</div>
  809. <span class="small pull-right mobile-hide">
  810. <span class="divider">|</span>
  811. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/docfx/overrides/new?filename=Terminal_Gui_Point_op_Subtraction_Terminal_Gui_Point_Terminal_Gui_Size_.md&amp;value=---%0Auid%3A%20Terminal.Gui.Point.op_Subtraction(Terminal.Gui.Point%2CTerminal.Gui.Size)%0Asummary%3A%20&#39;*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax&#39;%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Edit this page</a>
  812. </span>
  813. <span class="small pull-right mobile-hide">
  814. <a href="tig:tig/Terminal.Gui/blob/v2_develop/Terminal.Gui/Types/Point.cs/#L98">View Source</a>
  815. </span>
  816. <a id="Terminal_Gui_Point_op_Subtraction_" data-uid="Terminal.Gui.Point.op_Subtraction*"></a>
  817. <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)">operator -(Point, Size)</h4>
  818. <div class="markdown level1 summary">Subtraction Operator</div>
  819. <div class="markdown level1 conceptual"></div>
  820. <h5 class="declaration">Declaration</h5>
  821. <div class="codewrapper">
  822. <pre><code class="lang-csharp hljs">public static Point operator -(Point pt, Size sz)</code></pre>
  823. </div>
  824. <h5 class="parameters">Parameters</h5>
  825. <table class="table table-bordered table-condensed">
  826. <thead>
  827. <tr>
  828. <th>Type</th>
  829. <th>Name</th>
  830. <th>Description</th>
  831. </tr>
  832. </thead>
  833. <tbody>
  834. <tr>
  835. <td><a class="xref" href="Terminal.Gui.Point.html">Point</a></td>
  836. <td><span class="parametername">pt</span></td>
  837. <td></td>
  838. </tr>
  839. <tr>
  840. <td><a class="xref" href="Terminal.Gui.Size.html">Size</a></td>
  841. <td><span class="parametername">sz</span></td>
  842. <td></td>
  843. </tr>
  844. </tbody>
  845. </table>
  846. <h5 class="returns">Returns</h5>
  847. <table class="table table-bordered table-condensed">
  848. <thead>
  849. <tr>
  850. <th>Type</th>
  851. <th>Description</th>
  852. </tr>
  853. </thead>
  854. <tbody>
  855. <tr>
  856. <td><a class="xref" href="Terminal.Gui.Point.html">Point</a></td>
  857. <td></td>
  858. </tr>
  859. </tbody>
  860. </table>
  861. <h5 id="Terminal_Gui_Point_op_Subtraction_Terminal_Gui_Point_Terminal_Gui_Size__remarks">Remarks</h5>
  862. <div class="markdown level1 remarks">Translates a Point using the negation of the Width
  863. and Height properties of the given Size.</div>
  864. </article>
  865. </div>
  866. <div class="hidden-sm col-md-2" role="complementary">
  867. <div class="sideaffix">
  868. <div class="contribution">
  869. <ul class="nav">
  870. <li>
  871. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/docfx/overrides/new?filename=Terminal_Gui_Point.md&amp;value=---%0Auid%3A%20Terminal.Gui.Point%0Asummary%3A%20&#39;*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax&#39;%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A" class="contribution-link">Edit this page</a>
  872. </li>
  873. <li>
  874. <a href="tig:tig/Terminal.Gui/blob/v2_develop/Terminal.Gui/Types/Point.cs/#L19" class="contribution-link">View Source</a>
  875. </li>
  876. </ul>
  877. </div>
  878. <nav class="bs-docs-sidebar hidden-print hidden-xs hidden-sm affix" id="affix">
  879. <h5>In this article</h5>
  880. <div></div>
  881. </nav>
  882. </div>
  883. </div>
  884. </div>
  885. </div>
  886. <footer>
  887. <div class="grad-bottom"></div>
  888. <div class="footer">
  889. <div class="container">
  890. <span class="pull-right">
  891. <a href="#top">Back to top</a>
  892. </span>
  893. <span>Generated by <strong>DocFX</strong></span>
  894. </div>
  895. </div>
  896. </footer>
  897. </div>
  898. <script type="text/javascript" src="../../styles/docfx.vendor.min.js"></script>
  899. <script type="text/javascript" src="../../styles/docfx.js"></script>
  900. <script type="text/javascript" src="../../styles/main.js"></script>
  901. </body>
  902. </html>