Terminal.Gui.SizeF.html 33 KB

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