Terminal.Gui.PointF.html 32 KB

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