Terminal.Gui.PointF.html 32 KB

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