Terminal.Gui.SizeF.html 34 KB

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