Terminal.Gui.PointF.html 32 KB

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