Terminal.Gui.SizeF.html 33 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938
  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 SizeF
  8. </title>
  9. <meta name="viewport" content="width=device-width">
  10. <meta name="title" content="Class SizeF
  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.SizeF">
  73. <h1 id="Terminal_Gui_SizeF" data-uid="Terminal.Gui.SizeF" class="text-break">Class SizeF
  74. </h1>
  75. <div class="markdown level0 summary">
  76. Represents the size of a rectangular region with an ordered pair of width and height.
  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">SizeF</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.SizeF.html">SizeF</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_SizeF_syntax">Syntax</h5>
  91. <div class="codewrapper">
  92. <pre><code class="lang-csharp hljs">public sealed class SizeF : ValueType</code></pre>
  93. </div>
  94. <h3 id="constructors">Constructors
  95. </h3>
  96. <a id="Terminal_Gui_SizeF__ctor_" data-uid="Terminal.Gui.SizeF.#ctor*"></a>
  97. <h4 id="Terminal_Gui_SizeF__ctor_System_Single_System_Single_" data-uid="Terminal.Gui.SizeF.#ctor(System.Single,System.Single)">SizeF(Single, Single)</h4>
  98. <div class="markdown level1 summary">
  99. Initializes a new instance of the <a class="xref" href="Terminal.Gui.SizeF.html">SizeF</a> class from the specified dimensions.
  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 SizeF(float width, float height)</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">width</span></td>
  119. <td></td>
  120. </tr>
  121. <tr>
  122. <td><span class="xref">System.Single</span></td>
  123. <td><span class="parametername">height</span></td>
  124. <td></td>
  125. </tr>
  126. </tbody>
  127. </table>
  128. <a id="Terminal_Gui_SizeF__ctor_" data-uid="Terminal.Gui.SizeF.#ctor*"></a>
  129. <h4 id="Terminal_Gui_SizeF__ctor_Terminal_Gui_PointF_" data-uid="Terminal.Gui.SizeF.#ctor(Terminal.Gui.PointF)">SizeF(PointF)</h4>
  130. <div class="markdown level1 summary">
  131. Initializes a new instance of the <a class="xref" href="Terminal.Gui.SizeF.html">SizeF</a> class from the specified
  132. <a class="xref" href="Terminal.Gui.PointF.html">PointF</a>.
  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 SizeF(PointF pt)</code></pre>
  138. </div>
  139. <h5 class="parameters">Parameters</h5>
  140. <table class="table table-bordered table-striped table-condensed">
  141. <thead>
  142. <tr>
  143. <th>Type</th>
  144. <th>Name</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><span class="parametername">pt</span></td>
  152. <td></td>
  153. </tr>
  154. </tbody>
  155. </table>
  156. <a id="Terminal_Gui_SizeF__ctor_" data-uid="Terminal.Gui.SizeF.#ctor*"></a>
  157. <h4 id="Terminal_Gui_SizeF__ctor_Terminal_Gui_SizeF_" data-uid="Terminal.Gui.SizeF.#ctor(Terminal.Gui.SizeF)">SizeF(SizeF)</h4>
  158. <div class="markdown level1 summary">
  159. Initializes a new instance of the <a class="xref" href="Terminal.Gui.SizeF.html">SizeF</a> class from the specified
  160. existing <a class="xref" href="Terminal.Gui.SizeF.html">SizeF</a>.
  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 SizeF(SizeF size)</code></pre>
  166. </div>
  167. <h5 class="parameters">Parameters</h5>
  168. <table class="table table-bordered table-striped table-condensed">
  169. <thead>
  170. <tr>
  171. <th>Type</th>
  172. <th>Name</th>
  173. <th>Description</th>
  174. </tr>
  175. </thead>
  176. <tbody>
  177. <tr>
  178. <td><a class="xref" href="Terminal.Gui.SizeF.html">SizeF</a></td>
  179. <td><span class="parametername">size</span></td>
  180. <td></td>
  181. </tr>
  182. </tbody>
  183. </table>
  184. <h3 id="fields">Fields
  185. </h3>
  186. <h4 id="Terminal_Gui_SizeF_Empty" data-uid="Terminal.Gui.SizeF.Empty">Empty</h4>
  187. <div class="markdown level1 summary">
  188. Initializes a new instance of the <a class="xref" href="Terminal.Gui.SizeF.html">SizeF</a> class.
  189. </div>
  190. <div class="markdown level1 conceptual"></div>
  191. <h5 class="decalaration">Declaration</h5>
  192. <div class="codewrapper">
  193. <pre><code class="lang-csharp hljs">public static readonly SizeF Empty</code></pre>
  194. </div>
  195. <h5 class="fieldValue">Field Value</h5>
  196. <table class="table table-bordered table-striped table-condensed">
  197. <thead>
  198. <tr>
  199. <th>Type</th>
  200. <th>Description</th>
  201. </tr>
  202. </thead>
  203. <tbody>
  204. <tr>
  205. <td><a class="xref" href="Terminal.Gui.SizeF.html">SizeF</a></td>
  206. <td></td>
  207. </tr>
  208. </tbody>
  209. </table>
  210. <h3 id="properties">Properties
  211. </h3>
  212. <a id="Terminal_Gui_SizeF_Height_" data-uid="Terminal.Gui.SizeF.Height*"></a>
  213. <h4 id="Terminal_Gui_SizeF_Height" data-uid="Terminal.Gui.SizeF.Height">Height</h4>
  214. <div class="markdown level1 summary">
  215. Represents the vertical component of this <a class="xref" href="Terminal.Gui.SizeF.html">SizeF</a>.
  216. </div>
  217. <div class="markdown level1 conceptual"></div>
  218. <h5 class="decalaration">Declaration</h5>
  219. <div class="codewrapper">
  220. <pre><code class="lang-csharp hljs">public float Height { get; set; }</code></pre>
  221. </div>
  222. <h5 class="propertyValue">Property Value</h5>
  223. <table class="table table-bordered table-striped table-condensed">
  224. <thead>
  225. <tr>
  226. <th>Type</th>
  227. <th>Description</th>
  228. </tr>
  229. </thead>
  230. <tbody>
  231. <tr>
  232. <td><span class="xref">System.Single</span></td>
  233. <td></td>
  234. </tr>
  235. </tbody>
  236. </table>
  237. <a id="Terminal_Gui_SizeF_IsEmpty_" data-uid="Terminal.Gui.SizeF.IsEmpty*"></a>
  238. <h4 id="Terminal_Gui_SizeF_IsEmpty" data-uid="Terminal.Gui.SizeF.IsEmpty">IsEmpty</h4>
  239. <div class="markdown level1 summary">
  240. Tests whether this <a class="xref" href="Terminal.Gui.SizeF.html">SizeF</a> has zero width and height.
  241. </div>
  242. <div class="markdown level1 conceptual"></div>
  243. <h5 class="decalaration">Declaration</h5>
  244. <div class="codewrapper">
  245. <pre><code class="lang-csharp hljs">public bool IsEmpty { get; }</code></pre>
  246. </div>
  247. <h5 class="propertyValue">Property Value</h5>
  248. <table class="table table-bordered table-striped table-condensed">
  249. <thead>
  250. <tr>
  251. <th>Type</th>
  252. <th>Description</th>
  253. </tr>
  254. </thead>
  255. <tbody>
  256. <tr>
  257. <td><span class="xref">System.Boolean</span></td>
  258. <td></td>
  259. </tr>
  260. </tbody>
  261. </table>
  262. <a id="Terminal_Gui_SizeF_Width_" data-uid="Terminal.Gui.SizeF.Width*"></a>
  263. <h4 id="Terminal_Gui_SizeF_Width" data-uid="Terminal.Gui.SizeF.Width">Width</h4>
  264. <div class="markdown level1 summary">
  265. Represents the horizontal component of this <a class="xref" href="Terminal.Gui.SizeF.html">SizeF</a>.
  266. </div>
  267. <div class="markdown level1 conceptual"></div>
  268. <h5 class="decalaration">Declaration</h5>
  269. <div class="codewrapper">
  270. <pre><code class="lang-csharp hljs">public float Width { get; set; }</code></pre>
  271. </div>
  272. <h5 class="propertyValue">Property Value</h5>
  273. <table class="table table-bordered table-striped table-condensed">
  274. <thead>
  275. <tr>
  276. <th>Type</th>
  277. <th>Description</th>
  278. </tr>
  279. </thead>
  280. <tbody>
  281. <tr>
  282. <td><span class="xref">System.Single</span></td>
  283. <td></td>
  284. </tr>
  285. </tbody>
  286. </table>
  287. <h3 id="methods">Methods
  288. </h3>
  289. <a id="Terminal_Gui_SizeF_Add_" data-uid="Terminal.Gui.SizeF.Add*"></a>
  290. <h4 id="Terminal_Gui_SizeF_Add_Terminal_Gui_SizeF_Terminal_Gui_SizeF_" data-uid="Terminal.Gui.SizeF.Add(Terminal.Gui.SizeF,Terminal.Gui.SizeF)">Add(SizeF, SizeF)</h4>
  291. <div class="markdown level1 summary">
  292. Performs vector addition of two <a class="xref" href="Terminal.Gui.SizeF.html">SizeF</a> objects.
  293. </div>
  294. <div class="markdown level1 conceptual"></div>
  295. <h5 class="decalaration">Declaration</h5>
  296. <div class="codewrapper">
  297. <pre><code class="lang-csharp hljs">public static SizeF Add(SizeF sz1, SizeF sz2)</code></pre>
  298. </div>
  299. <h5 class="parameters">Parameters</h5>
  300. <table class="table table-bordered table-striped table-condensed">
  301. <thead>
  302. <tr>
  303. <th>Type</th>
  304. <th>Name</th>
  305. <th>Description</th>
  306. </tr>
  307. </thead>
  308. <tbody>
  309. <tr>
  310. <td><a class="xref" href="Terminal.Gui.SizeF.html">SizeF</a></td>
  311. <td><span class="parametername">sz1</span></td>
  312. <td></td>
  313. </tr>
  314. <tr>
  315. <td><a class="xref" href="Terminal.Gui.SizeF.html">SizeF</a></td>
  316. <td><span class="parametername">sz2</span></td>
  317. <td></td>
  318. </tr>
  319. </tbody>
  320. </table>
  321. <h5 class="returns">Returns</h5>
  322. <table class="table table-bordered table-striped table-condensed">
  323. <thead>
  324. <tr>
  325. <th>Type</th>
  326. <th>Description</th>
  327. </tr>
  328. </thead>
  329. <tbody>
  330. <tr>
  331. <td><a class="xref" href="Terminal.Gui.SizeF.html">SizeF</a></td>
  332. <td></td>
  333. </tr>
  334. </tbody>
  335. </table>
  336. <a id="Terminal_Gui_SizeF_Equals_" data-uid="Terminal.Gui.SizeF.Equals*"></a>
  337. <h4 id="Terminal_Gui_SizeF_Equals_System_Object_" data-uid="Terminal.Gui.SizeF.Equals(System.Object)">Equals(Object)</h4>
  338. <div class="markdown level1 summary">
  339. Tests to see whether the specified object is a <a class="xref" href="Terminal.Gui.SizeF.html">SizeF</a> with the same dimensions
  340. as this <a class="xref" href="Terminal.Gui.SizeF.html">SizeF</a>.
  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. <a id="Terminal_Gui_SizeF_Equals_" data-uid="Terminal.Gui.SizeF.Equals*"></a>
  380. <h4 id="Terminal_Gui_SizeF_Equals_Terminal_Gui_SizeF_" data-uid="Terminal.Gui.SizeF.Equals(Terminal.Gui.SizeF)">Equals(SizeF)</h4>
  381. <div class="markdown level1 summary">
  382. Tests whether two <a class="xref" href="Terminal.Gui.SizeF.html">SizeF</a> objects are identical.
  383. </div>
  384. <div class="markdown level1 conceptual"></div>
  385. <h5 class="decalaration">Declaration</h5>
  386. <div class="codewrapper">
  387. <pre><code class="lang-csharp hljs">public bool Equals(SizeF other)</code></pre>
  388. </div>
  389. <h5 class="parameters">Parameters</h5>
  390. <table class="table table-bordered table-striped table-condensed">
  391. <thead>
  392. <tr>
  393. <th>Type</th>
  394. <th>Name</th>
  395. <th>Description</th>
  396. </tr>
  397. </thead>
  398. <tbody>
  399. <tr>
  400. <td><a class="xref" href="Terminal.Gui.SizeF.html">SizeF</a></td>
  401. <td><span class="parametername">other</span></td>
  402. <td></td>
  403. </tr>
  404. </tbody>
  405. </table>
  406. <h5 class="returns">Returns</h5>
  407. <table class="table table-bordered table-striped table-condensed">
  408. <thead>
  409. <tr>
  410. <th>Type</th>
  411. <th>Description</th>
  412. </tr>
  413. </thead>
  414. <tbody>
  415. <tr>
  416. <td><span class="xref">System.Boolean</span></td>
  417. <td></td>
  418. </tr>
  419. </tbody>
  420. </table>
  421. <a id="Terminal_Gui_SizeF_GetHashCode_" data-uid="Terminal.Gui.SizeF.GetHashCode*"></a>
  422. <h4 id="Terminal_Gui_SizeF_GetHashCode" data-uid="Terminal.Gui.SizeF.GetHashCode">GetHashCode()</h4>
  423. <div class="markdown level1 summary">
  424. Generates a hashcode from the width and height
  425. </div>
  426. <div class="markdown level1 conceptual"></div>
  427. <h5 class="decalaration">Declaration</h5>
  428. <div class="codewrapper">
  429. <pre><code class="lang-csharp hljs">public override int GetHashCode()</code></pre>
  430. </div>
  431. <h5 class="returns">Returns</h5>
  432. <table class="table table-bordered table-striped table-condensed">
  433. <thead>
  434. <tr>
  435. <th>Type</th>
  436. <th>Description</th>
  437. </tr>
  438. </thead>
  439. <tbody>
  440. <tr>
  441. <td><span class="xref">System.Int32</span></td>
  442. <td></td>
  443. </tr>
  444. </tbody>
  445. </table>
  446. <a id="Terminal_Gui_SizeF_Subtract_" data-uid="Terminal.Gui.SizeF.Subtract*"></a>
  447. <h4 id="Terminal_Gui_SizeF_Subtract_Terminal_Gui_SizeF_Terminal_Gui_SizeF_" data-uid="Terminal.Gui.SizeF.Subtract(Terminal.Gui.SizeF,Terminal.Gui.SizeF)">Subtract(SizeF, SizeF)</h4>
  448. <div class="markdown level1 summary">
  449. Contracts a <a class="xref" href="Terminal.Gui.SizeF.html">SizeF</a> by another <a class="xref" href="Terminal.Gui.SizeF.html">SizeF</a>.
  450. </div>
  451. <div class="markdown level1 conceptual"></div>
  452. <h5 class="decalaration">Declaration</h5>
  453. <div class="codewrapper">
  454. <pre><code class="lang-csharp hljs">public static SizeF Subtract(SizeF sz1, SizeF sz2)</code></pre>
  455. </div>
  456. <h5 class="parameters">Parameters</h5>
  457. <table class="table table-bordered table-striped table-condensed">
  458. <thead>
  459. <tr>
  460. <th>Type</th>
  461. <th>Name</th>
  462. <th>Description</th>
  463. </tr>
  464. </thead>
  465. <tbody>
  466. <tr>
  467. <td><a class="xref" href="Terminal.Gui.SizeF.html">SizeF</a></td>
  468. <td><span class="parametername">sz1</span></td>
  469. <td></td>
  470. </tr>
  471. <tr>
  472. <td><a class="xref" href="Terminal.Gui.SizeF.html">SizeF</a></td>
  473. <td><span class="parametername">sz2</span></td>
  474. <td></td>
  475. </tr>
  476. </tbody>
  477. </table>
  478. <h5 class="returns">Returns</h5>
  479. <table class="table table-bordered table-striped table-condensed">
  480. <thead>
  481. <tr>
  482. <th>Type</th>
  483. <th>Description</th>
  484. </tr>
  485. </thead>
  486. <tbody>
  487. <tr>
  488. <td><a class="xref" href="Terminal.Gui.SizeF.html">SizeF</a></td>
  489. <td></td>
  490. </tr>
  491. </tbody>
  492. </table>
  493. <a id="Terminal_Gui_SizeF_ToString_" data-uid="Terminal.Gui.SizeF.ToString*"></a>
  494. <h4 id="Terminal_Gui_SizeF_ToString" data-uid="Terminal.Gui.SizeF.ToString">ToString()</h4>
  495. <div class="markdown level1 summary">
  496. Creates a human-readable string that represents this <a class="xref" href="Terminal.Gui.SizeF.html">SizeF</a>.
  497. </div>
  498. <div class="markdown level1 conceptual"></div>
  499. <h5 class="decalaration">Declaration</h5>
  500. <div class="codewrapper">
  501. <pre><code class="lang-csharp hljs">public override string ToString()</code></pre>
  502. </div>
  503. <h5 class="returns">Returns</h5>
  504. <table class="table table-bordered table-striped table-condensed">
  505. <thead>
  506. <tr>
  507. <th>Type</th>
  508. <th>Description</th>
  509. </tr>
  510. </thead>
  511. <tbody>
  512. <tr>
  513. <td><span class="xref">System.String</span></td>
  514. <td></td>
  515. </tr>
  516. </tbody>
  517. </table>
  518. <h3 id="operators">Operators
  519. </h3>
  520. <a id="Terminal_Gui_SizeF_op_Addition_" data-uid="Terminal.Gui.SizeF.op_Addition*"></a>
  521. <h4 id="Terminal_Gui_SizeF_op_Addition_Terminal_Gui_SizeF_Terminal_Gui_SizeF_" data-uid="Terminal.Gui.SizeF.op_Addition(Terminal.Gui.SizeF,Terminal.Gui.SizeF)">Addition(SizeF, SizeF)</h4>
  522. <div class="markdown level1 summary">
  523. Performs vector addition of two <a class="xref" href="Terminal.Gui.SizeF.html">SizeF</a> objects.
  524. </div>
  525. <div class="markdown level1 conceptual"></div>
  526. <h5 class="decalaration">Declaration</h5>
  527. <div class="codewrapper">
  528. <pre><code class="lang-csharp hljs">public static SizeF operator +(SizeF sz1, SizeF sz2)</code></pre>
  529. </div>
  530. <h5 class="parameters">Parameters</h5>
  531. <table class="table table-bordered table-striped table-condensed">
  532. <thead>
  533. <tr>
  534. <th>Type</th>
  535. <th>Name</th>
  536. <th>Description</th>
  537. </tr>
  538. </thead>
  539. <tbody>
  540. <tr>
  541. <td><a class="xref" href="Terminal.Gui.SizeF.html">SizeF</a></td>
  542. <td><span class="parametername">sz1</span></td>
  543. <td></td>
  544. </tr>
  545. <tr>
  546. <td><a class="xref" href="Terminal.Gui.SizeF.html">SizeF</a></td>
  547. <td><span class="parametername">sz2</span></td>
  548. <td></td>
  549. </tr>
  550. </tbody>
  551. </table>
  552. <h5 class="returns">Returns</h5>
  553. <table class="table table-bordered table-striped table-condensed">
  554. <thead>
  555. <tr>
  556. <th>Type</th>
  557. <th>Description</th>
  558. </tr>
  559. </thead>
  560. <tbody>
  561. <tr>
  562. <td><a class="xref" href="Terminal.Gui.SizeF.html">SizeF</a></td>
  563. <td></td>
  564. </tr>
  565. </tbody>
  566. </table>
  567. <a id="Terminal_Gui_SizeF_op_Division_" data-uid="Terminal.Gui.SizeF.op_Division*"></a>
  568. <h4 id="Terminal_Gui_SizeF_op_Division_Terminal_Gui_SizeF_System_Single_" data-uid="Terminal.Gui.SizeF.op_Division(Terminal.Gui.SizeF,System.Single)">Division(SizeF, Single)</h4>
  569. <div class="markdown level1 summary">
  570. Divides <a class="xref" href="Terminal.Gui.SizeF.html">SizeF</a> by a <span class="xref">System.Single</span> producing <a class="xref" href="Terminal.Gui.SizeF.html">SizeF</a>.
  571. </div>
  572. <div class="markdown level1 conceptual"></div>
  573. <h5 class="decalaration">Declaration</h5>
  574. <div class="codewrapper">
  575. <pre><code class="lang-csharp hljs">public static SizeF operator /(SizeF left, float right)</code></pre>
  576. </div>
  577. <h5 class="parameters">Parameters</h5>
  578. <table class="table table-bordered table-striped table-condensed">
  579. <thead>
  580. <tr>
  581. <th>Type</th>
  582. <th>Name</th>
  583. <th>Description</th>
  584. </tr>
  585. </thead>
  586. <tbody>
  587. <tr>
  588. <td><a class="xref" href="Terminal.Gui.SizeF.html">SizeF</a></td>
  589. <td><span class="parametername">left</span></td>
  590. <td>Dividend of type <a class="xref" href="Terminal.Gui.SizeF.html">SizeF</a>.</td>
  591. </tr>
  592. <tr>
  593. <td><span class="xref">System.Single</span></td>
  594. <td><span class="parametername">right</span></td>
  595. <td>Divisor of type <span class="xref">System.Int32</span>.</td>
  596. </tr>
  597. </tbody>
  598. </table>
  599. <h5 class="returns">Returns</h5>
  600. <table class="table table-bordered table-striped table-condensed">
  601. <thead>
  602. <tr>
  603. <th>Type</th>
  604. <th>Description</th>
  605. </tr>
  606. </thead>
  607. <tbody>
  608. <tr>
  609. <td><a class="xref" href="Terminal.Gui.SizeF.html">SizeF</a></td>
  610. <td>Result of type <a class="xref" href="Terminal.Gui.SizeF.html">SizeF</a>.</td>
  611. </tr>
  612. </tbody>
  613. </table>
  614. <a id="Terminal_Gui_SizeF_op_Equality_" data-uid="Terminal.Gui.SizeF.op_Equality*"></a>
  615. <h4 id="Terminal_Gui_SizeF_op_Equality_Terminal_Gui_SizeF_Terminal_Gui_SizeF_" data-uid="Terminal.Gui.SizeF.op_Equality(Terminal.Gui.SizeF,Terminal.Gui.SizeF)">Equality(SizeF, SizeF)</h4>
  616. <div class="markdown level1 summary">
  617. Tests whether two <a class="xref" href="Terminal.Gui.SizeF.html">SizeF</a> objects are identical.
  618. </div>
  619. <div class="markdown level1 conceptual"></div>
  620. <h5 class="decalaration">Declaration</h5>
  621. <div class="codewrapper">
  622. <pre><code class="lang-csharp hljs">public static bool operator ==(SizeF sz1, SizeF sz2)</code></pre>
  623. </div>
  624. <h5 class="parameters">Parameters</h5>
  625. <table class="table table-bordered table-striped table-condensed">
  626. <thead>
  627. <tr>
  628. <th>Type</th>
  629. <th>Name</th>
  630. <th>Description</th>
  631. </tr>
  632. </thead>
  633. <tbody>
  634. <tr>
  635. <td><a class="xref" href="Terminal.Gui.SizeF.html">SizeF</a></td>
  636. <td><span class="parametername">sz1</span></td>
  637. <td></td>
  638. </tr>
  639. <tr>
  640. <td><a class="xref" href="Terminal.Gui.SizeF.html">SizeF</a></td>
  641. <td><span class="parametername">sz2</span></td>
  642. <td></td>
  643. </tr>
  644. </tbody>
  645. </table>
  646. <h5 class="returns">Returns</h5>
  647. <table class="table table-bordered table-striped table-condensed">
  648. <thead>
  649. <tr>
  650. <th>Type</th>
  651. <th>Description</th>
  652. </tr>
  653. </thead>
  654. <tbody>
  655. <tr>
  656. <td><span class="xref">System.Boolean</span></td>
  657. <td></td>
  658. </tr>
  659. </tbody>
  660. </table>
  661. <a id="Terminal_Gui_SizeF_op_Explicit_" data-uid="Terminal.Gui.SizeF.op_Explicit*"></a>
  662. <h4 id="Terminal_Gui_SizeF_op_Explicit_Terminal_Gui_SizeF__Terminal_Gui_PointF" data-uid="Terminal.Gui.SizeF.op_Explicit(Terminal.Gui.SizeF)~Terminal.Gui.PointF">Explicit(SizeF to PointF)</h4>
  663. <div class="markdown level1 summary">
  664. Converts the specified <a class="xref" href="Terminal.Gui.SizeF.html">SizeF</a> to a <a class="xref" href="Terminal.Gui.PointF.html">PointF</a>.
  665. </div>
  666. <div class="markdown level1 conceptual"></div>
  667. <h5 class="decalaration">Declaration</h5>
  668. <div class="codewrapper">
  669. <pre><code class="lang-csharp hljs">public static explicit operator PointF(SizeF size)</code></pre>
  670. </div>
  671. <h5 class="parameters">Parameters</h5>
  672. <table class="table table-bordered table-striped table-condensed">
  673. <thead>
  674. <tr>
  675. <th>Type</th>
  676. <th>Name</th>
  677. <th>Description</th>
  678. </tr>
  679. </thead>
  680. <tbody>
  681. <tr>
  682. <td><a class="xref" href="Terminal.Gui.SizeF.html">SizeF</a></td>
  683. <td><span class="parametername">size</span></td>
  684. <td></td>
  685. </tr>
  686. </tbody>
  687. </table>
  688. <h5 class="returns">Returns</h5>
  689. <table class="table table-bordered table-striped table-condensed">
  690. <thead>
  691. <tr>
  692. <th>Type</th>
  693. <th>Description</th>
  694. </tr>
  695. </thead>
  696. <tbody>
  697. <tr>
  698. <td><a class="xref" href="Terminal.Gui.PointF.html">PointF</a></td>
  699. <td></td>
  700. </tr>
  701. </tbody>
  702. </table>
  703. <a id="Terminal_Gui_SizeF_op_Inequality_" data-uid="Terminal.Gui.SizeF.op_Inequality*"></a>
  704. <h4 id="Terminal_Gui_SizeF_op_Inequality_Terminal_Gui_SizeF_Terminal_Gui_SizeF_" data-uid="Terminal.Gui.SizeF.op_Inequality(Terminal.Gui.SizeF,Terminal.Gui.SizeF)">Inequality(SizeF, SizeF)</h4>
  705. <div class="markdown level1 summary">
  706. Tests whether two <a class="xref" href="Terminal.Gui.SizeF.html">SizeF</a> objects are different.
  707. </div>
  708. <div class="markdown level1 conceptual"></div>
  709. <h5 class="decalaration">Declaration</h5>
  710. <div class="codewrapper">
  711. <pre><code class="lang-csharp hljs">public static bool operator !=(SizeF sz1, SizeF sz2)</code></pre>
  712. </div>
  713. <h5 class="parameters">Parameters</h5>
  714. <table class="table table-bordered table-striped table-condensed">
  715. <thead>
  716. <tr>
  717. <th>Type</th>
  718. <th>Name</th>
  719. <th>Description</th>
  720. </tr>
  721. </thead>
  722. <tbody>
  723. <tr>
  724. <td><a class="xref" href="Terminal.Gui.SizeF.html">SizeF</a></td>
  725. <td><span class="parametername">sz1</span></td>
  726. <td></td>
  727. </tr>
  728. <tr>
  729. <td><a class="xref" href="Terminal.Gui.SizeF.html">SizeF</a></td>
  730. <td><span class="parametername">sz2</span></td>
  731. <td></td>
  732. </tr>
  733. </tbody>
  734. </table>
  735. <h5 class="returns">Returns</h5>
  736. <table class="table table-bordered table-striped table-condensed">
  737. <thead>
  738. <tr>
  739. <th>Type</th>
  740. <th>Description</th>
  741. </tr>
  742. </thead>
  743. <tbody>
  744. <tr>
  745. <td><span class="xref">System.Boolean</span></td>
  746. <td></td>
  747. </tr>
  748. </tbody>
  749. </table>
  750. <a id="Terminal_Gui_SizeF_op_Multiply_" data-uid="Terminal.Gui.SizeF.op_Multiply*"></a>
  751. <h4 id="Terminal_Gui_SizeF_op_Multiply_System_Single_Terminal_Gui_SizeF_" data-uid="Terminal.Gui.SizeF.op_Multiply(System.Single,Terminal.Gui.SizeF)">Multiply(Single, SizeF)</h4>
  752. <div class="markdown level1 summary">
  753. Multiplies <a class="xref" href="Terminal.Gui.SizeF.html">SizeF</a> by a <span class="xref">System.Single</span> producing <a class="xref" href="Terminal.Gui.SizeF.html">SizeF</a>.
  754. </div>
  755. <div class="markdown level1 conceptual"></div>
  756. <h5 class="decalaration">Declaration</h5>
  757. <div class="codewrapper">
  758. <pre><code class="lang-csharp hljs">public static SizeF operator *(float left, SizeF right)</code></pre>
  759. </div>
  760. <h5 class="parameters">Parameters</h5>
  761. <table class="table table-bordered table-striped table-condensed">
  762. <thead>
  763. <tr>
  764. <th>Type</th>
  765. <th>Name</th>
  766. <th>Description</th>
  767. </tr>
  768. </thead>
  769. <tbody>
  770. <tr>
  771. <td><span class="xref">System.Single</span></td>
  772. <td><span class="parametername">left</span></td>
  773. <td>Multiplier of type <span class="xref">System.Single</span>.</td>
  774. </tr>
  775. <tr>
  776. <td><a class="xref" href="Terminal.Gui.SizeF.html">SizeF</a></td>
  777. <td><span class="parametername">right</span></td>
  778. <td>Multiplicand of type <a class="xref" href="Terminal.Gui.SizeF.html">SizeF</a>.</td>
  779. </tr>
  780. </tbody>
  781. </table>
  782. <h5 class="returns">Returns</h5>
  783. <table class="table table-bordered table-striped table-condensed">
  784. <thead>
  785. <tr>
  786. <th>Type</th>
  787. <th>Description</th>
  788. </tr>
  789. </thead>
  790. <tbody>
  791. <tr>
  792. <td><a class="xref" href="Terminal.Gui.SizeF.html">SizeF</a></td>
  793. <td>Product of type <a class="xref" href="Terminal.Gui.SizeF.html">SizeF</a>.</td>
  794. </tr>
  795. </tbody>
  796. </table>
  797. <a id="Terminal_Gui_SizeF_op_Multiply_" data-uid="Terminal.Gui.SizeF.op_Multiply*"></a>
  798. <h4 id="Terminal_Gui_SizeF_op_Multiply_Terminal_Gui_SizeF_System_Single_" data-uid="Terminal.Gui.SizeF.op_Multiply(Terminal.Gui.SizeF,System.Single)">Multiply(SizeF, Single)</h4>
  799. <div class="markdown level1 summary">
  800. Multiplies <a class="xref" href="Terminal.Gui.SizeF.html">SizeF</a> by a <span class="xref">System.Single</span> producing <a class="xref" href="Terminal.Gui.SizeF.html">SizeF</a>.
  801. </div>
  802. <div class="markdown level1 conceptual"></div>
  803. <h5 class="decalaration">Declaration</h5>
  804. <div class="codewrapper">
  805. <pre><code class="lang-csharp hljs">public static SizeF operator *(SizeF left, float right)</code></pre>
  806. </div>
  807. <h5 class="parameters">Parameters</h5>
  808. <table class="table table-bordered table-striped table-condensed">
  809. <thead>
  810. <tr>
  811. <th>Type</th>
  812. <th>Name</th>
  813. <th>Description</th>
  814. </tr>
  815. </thead>
  816. <tbody>
  817. <tr>
  818. <td><a class="xref" href="Terminal.Gui.SizeF.html">SizeF</a></td>
  819. <td><span class="parametername">left</span></td>
  820. <td>Multiplicand of type <a class="xref" href="Terminal.Gui.SizeF.html">SizeF</a>.</td>
  821. </tr>
  822. <tr>
  823. <td><span class="xref">System.Single</span></td>
  824. <td><span class="parametername">right</span></td>
  825. <td>Multiplier of type <span class="xref">System.Single</span>.</td>
  826. </tr>
  827. </tbody>
  828. </table>
  829. <h5 class="returns">Returns</h5>
  830. <table class="table table-bordered table-striped table-condensed">
  831. <thead>
  832. <tr>
  833. <th>Type</th>
  834. <th>Description</th>
  835. </tr>
  836. </thead>
  837. <tbody>
  838. <tr>
  839. <td><a class="xref" href="Terminal.Gui.SizeF.html">SizeF</a></td>
  840. <td>Product of type <a class="xref" href="Terminal.Gui.SizeF.html">SizeF</a>.</td>
  841. </tr>
  842. </tbody>
  843. </table>
  844. <a id="Terminal_Gui_SizeF_op_Subtraction_" data-uid="Terminal.Gui.SizeF.op_Subtraction*"></a>
  845. <h4 id="Terminal_Gui_SizeF_op_Subtraction_Terminal_Gui_SizeF_Terminal_Gui_SizeF_" data-uid="Terminal.Gui.SizeF.op_Subtraction(Terminal.Gui.SizeF,Terminal.Gui.SizeF)">Subtraction(SizeF, SizeF)</h4>
  846. <div class="markdown level1 summary">
  847. Contracts a <a class="xref" href="Terminal.Gui.SizeF.html">SizeF</a> by another <a class="xref" href="Terminal.Gui.SizeF.html">SizeF</a>
  848. </div>
  849. <div class="markdown level1 conceptual"></div>
  850. <h5 class="decalaration">Declaration</h5>
  851. <div class="codewrapper">
  852. <pre><code class="lang-csharp hljs">public static SizeF operator -(SizeF sz1, SizeF sz2)</code></pre>
  853. </div>
  854. <h5 class="parameters">Parameters</h5>
  855. <table class="table table-bordered table-striped table-condensed">
  856. <thead>
  857. <tr>
  858. <th>Type</th>
  859. <th>Name</th>
  860. <th>Description</th>
  861. </tr>
  862. </thead>
  863. <tbody>
  864. <tr>
  865. <td><a class="xref" href="Terminal.Gui.SizeF.html">SizeF</a></td>
  866. <td><span class="parametername">sz1</span></td>
  867. <td></td>
  868. </tr>
  869. <tr>
  870. <td><a class="xref" href="Terminal.Gui.SizeF.html">SizeF</a></td>
  871. <td><span class="parametername">sz2</span></td>
  872. <td></td>
  873. </tr>
  874. </tbody>
  875. </table>
  876. <h5 class="returns">Returns</h5>
  877. <table class="table table-bordered table-striped table-condensed">
  878. <thead>
  879. <tr>
  880. <th>Type</th>
  881. <th>Description</th>
  882. </tr>
  883. </thead>
  884. <tbody>
  885. <tr>
  886. <td><a class="xref" href="Terminal.Gui.SizeF.html">SizeF</a></td>
  887. <td></td>
  888. </tr>
  889. </tbody>
  890. </table>
  891. <h3 id="implements">Implements</h3>
  892. <div>
  893. <span class="xref">System.IEquatable&lt;&gt;</span>
  894. </div>
  895. </article>
  896. </div>
  897. <div class="hidden-sm col-md-2" role="complementary">
  898. <div class="sideaffix">
  899. <nav class="bs-docs-sidebar hidden-print hidden-xs hidden-sm affix" id="affix">
  900. <h5>In This Article</h5>
  901. <div></div>
  902. </nav>
  903. </div>
  904. </div>
  905. </div>
  906. </div>
  907. <footer>
  908. <div class="grad-bottom"></div>
  909. <div class="footer">
  910. <div class="container">
  911. <span class="pull-right">
  912. <a href="#top">Back to top</a>
  913. </span>
  914. <span>Generated by <strong>DocFX</strong></span>
  915. </div>
  916. </div>
  917. </footer>
  918. </div>
  919. <script type="text/javascript" src="../../styles/docfx.vendor.js"></script>
  920. <script type="text/javascript" src="../../styles/docfx.js"></script>
  921. <script type="text/javascript" src="../../styles/main.js"></script>
  922. </body>
  923. </html>