Terminal.Gui.Thickness.html 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406
  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 Thickness
  8. </title>
  9. <meta name="viewport" content="width=device-width">
  10. <meta name="title" content="Struct Thickness
  11. ">
  12. <meta name="generator" content="docfx 2.59.4.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.Thickness">
  74. <h1 id="Terminal_Gui_Thickness" data-uid="Terminal.Gui.Thickness" class="text-break">Struct Thickness
  75. </h1>
  76. <div class="markdown level0 summary">
  77. Describes the thickness of a frame around a rectangle. Four <span class="xref">System.Int32</span> values describe
  78. the <a class="xref" href="Terminal.Gui.Thickness.html#Terminal_Gui_Thickness_Left">Left</a>, <a class="xref" href="Terminal.Gui.Thickness.html#Terminal_Gui_Thickness_Top">Top</a>, <a class="xref" href="Terminal.Gui.Thickness.html#Terminal_Gui_Thickness_Right">Right</a>, and <a class="xref" href="Terminal.Gui.Thickness.html#Terminal_Gui_Thickness_Bottom">Bottom</a> sides
  79. of the rectangle, respectively.
  80. </div>
  81. <div class="markdown level0 conceptual"></div>
  82. <div class="inheritedMembers">
  83. <h5>Inherited Members</h5>
  84. <div>
  85. <span class="xref">System.ValueType.Equals(System.Object)</span>
  86. </div>
  87. <div>
  88. <span class="xref">System.ValueType.GetHashCode()</span>
  89. </div>
  90. <div>
  91. <span class="xref">System.Object.Equals(System.Object, System.Object)</span>
  92. </div>
  93. <div>
  94. <span class="xref">System.Object.GetType()</span>
  95. </div>
  96. <div>
  97. <span class="xref">System.Object.ReferenceEquals(System.Object, System.Object)</span>
  98. </div>
  99. </div>
  100. <h6><strong>Namespace</strong>: <a class="xref" href="Terminal.Gui.html">Terminal.Gui</a></h6>
  101. <h6><strong>Assembly</strong>: Terminal.Gui.dll</h6>
  102. <h5 id="Terminal_Gui_Thickness_syntax">Syntax</h5>
  103. <div class="codewrapper">
  104. <pre><code class="lang-csharp hljs">public struct Thickness</code></pre>
  105. </div>
  106. <h3 id="constructors">Constructors
  107. </h3>
  108. <span class="small pull-right mobile-hide">
  109. <span class="divider">|</span>
  110. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_Thickness__ctor_System_Int32_.md&amp;value=---%0Auid%3A%20Terminal.Gui.Thickness.%23ctor(System.Int32)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  111. </span>
  112. <span class="small pull-right mobile-hide">
  113. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Core/Border.cs/#L55">View Source</a>
  114. </span>
  115. <a id="Terminal_Gui_Thickness__ctor_" data-uid="Terminal.Gui.Thickness.#ctor*"></a>
  116. <h4 id="Terminal_Gui_Thickness__ctor_System_Int32_" data-uid="Terminal.Gui.Thickness.#ctor(System.Int32)">Thickness(Int32)</h4>
  117. <div class="markdown level1 summary">
  118. Initializes a new instance of the <a class="xref" href="Terminal.Gui.Thickness.html">Thickness</a> structure that has the
  119. specified uniform length on each side.
  120. </div>
  121. <div class="markdown level1 conceptual"></div>
  122. <h5 class="decalaration">Declaration</h5>
  123. <div class="codewrapper">
  124. <pre><code class="lang-csharp hljs">public Thickness(int length)</code></pre>
  125. </div>
  126. <h5 class="parameters">Parameters</h5>
  127. <table class="table table-bordered table-striped table-condensed">
  128. <thead>
  129. <tr>
  130. <th>Type</th>
  131. <th>Name</th>
  132. <th>Description</th>
  133. </tr>
  134. </thead>
  135. <tbody>
  136. <tr>
  137. <td><span class="xref">System.Int32</span></td>
  138. <td><span class="parametername">length</span></td>
  139. <td></td>
  140. </tr>
  141. </tbody>
  142. </table>
  143. <span class="small pull-right mobile-hide">
  144. <span class="divider">|</span>
  145. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_Thickness__ctor_System_Int32_System_Int32_System_Int32_System_Int32_.md&amp;value=---%0Auid%3A%20Terminal.Gui.Thickness.%23ctor(System.Int32%2CSystem.Int32%2CSystem.Int32%2CSystem.Int32)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  146. </span>
  147. <span class="small pull-right mobile-hide">
  148. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Core/Border.cs/#L72">View Source</a>
  149. </span>
  150. <a id="Terminal_Gui_Thickness__ctor_" data-uid="Terminal.Gui.Thickness.#ctor*"></a>
  151. <h4 id="Terminal_Gui_Thickness__ctor_System_Int32_System_Int32_System_Int32_System_Int32_" data-uid="Terminal.Gui.Thickness.#ctor(System.Int32,System.Int32,System.Int32,System.Int32)">Thickness(Int32, Int32, Int32, Int32)</h4>
  152. <div class="markdown level1 summary">
  153. Initializes a new instance of the <a class="xref" href="Terminal.Gui.Thickness.html">Thickness</a> structure that has specific
  154. lengths (supplied as a <span class="xref">System.Int32</span>) applied to each side of the rectangle.
  155. </div>
  156. <div class="markdown level1 conceptual"></div>
  157. <h5 class="decalaration">Declaration</h5>
  158. <div class="codewrapper">
  159. <pre><code class="lang-csharp hljs">public Thickness(int left, int top, int right, int bottom)</code></pre>
  160. </div>
  161. <h5 class="parameters">Parameters</h5>
  162. <table class="table table-bordered table-striped table-condensed">
  163. <thead>
  164. <tr>
  165. <th>Type</th>
  166. <th>Name</th>
  167. <th>Description</th>
  168. </tr>
  169. </thead>
  170. <tbody>
  171. <tr>
  172. <td><span class="xref">System.Int32</span></td>
  173. <td><span class="parametername">left</span></td>
  174. <td></td>
  175. </tr>
  176. <tr>
  177. <td><span class="xref">System.Int32</span></td>
  178. <td><span class="parametername">top</span></td>
  179. <td></td>
  180. </tr>
  181. <tr>
  182. <td><span class="xref">System.Int32</span></td>
  183. <td><span class="parametername">right</span></td>
  184. <td></td>
  185. </tr>
  186. <tr>
  187. <td><span class="xref">System.Int32</span></td>
  188. <td><span class="parametername">bottom</span></td>
  189. <td></td>
  190. </tr>
  191. </tbody>
  192. </table>
  193. <h3 id="fields">Fields
  194. </h3>
  195. <span class="small pull-right mobile-hide">
  196. <span class="divider">|</span>
  197. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_Thickness_Bottom.md&amp;value=---%0Auid%3A%20Terminal.Gui.Thickness.Bottom%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  198. </span>
  199. <span class="small pull-right mobile-hide">
  200. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Core/Border.cs/#L48">View Source</a>
  201. </span>
  202. <h4 id="Terminal_Gui_Thickness_Bottom" data-uid="Terminal.Gui.Thickness.Bottom">Bottom</h4>
  203. <div class="markdown level1 summary">
  204. Gets or sets the width, in integers, of the lower side of the bounding rectangle.
  205. </div>
  206. <div class="markdown level1 conceptual"></div>
  207. <h5 class="decalaration">Declaration</h5>
  208. <div class="codewrapper">
  209. <pre><code class="lang-csharp hljs">public int Bottom</code></pre>
  210. </div>
  211. <h5 class="fieldValue">Field Value</h5>
  212. <table class="table table-bordered table-striped table-condensed">
  213. <thead>
  214. <tr>
  215. <th>Type</th>
  216. <th>Description</th>
  217. </tr>
  218. </thead>
  219. <tbody>
  220. <tr>
  221. <td><span class="xref">System.Int32</span></td>
  222. <td></td>
  223. </tr>
  224. </tbody>
  225. </table>
  226. <span class="small pull-right mobile-hide">
  227. <span class="divider">|</span>
  228. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_Thickness_Left.md&amp;value=---%0Auid%3A%20Terminal.Gui.Thickness.Left%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  229. </span>
  230. <span class="small pull-right mobile-hide">
  231. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Core/Border.cs/#L36">View Source</a>
  232. </span>
  233. <h4 id="Terminal_Gui_Thickness_Left" data-uid="Terminal.Gui.Thickness.Left">Left</h4>
  234. <div class="markdown level1 summary">
  235. Gets or sets the width, in integers, of the left side of the bounding rectangle.
  236. </div>
  237. <div class="markdown level1 conceptual"></div>
  238. <h5 class="decalaration">Declaration</h5>
  239. <div class="codewrapper">
  240. <pre><code class="lang-csharp hljs">public int Left</code></pre>
  241. </div>
  242. <h5 class="fieldValue">Field Value</h5>
  243. <table class="table table-bordered table-striped table-condensed">
  244. <thead>
  245. <tr>
  246. <th>Type</th>
  247. <th>Description</th>
  248. </tr>
  249. </thead>
  250. <tbody>
  251. <tr>
  252. <td><span class="xref">System.Int32</span></td>
  253. <td></td>
  254. </tr>
  255. </tbody>
  256. </table>
  257. <span class="small pull-right mobile-hide">
  258. <span class="divider">|</span>
  259. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_Thickness_Right.md&amp;value=---%0Auid%3A%20Terminal.Gui.Thickness.Right%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  260. </span>
  261. <span class="small pull-right mobile-hide">
  262. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Core/Border.cs/#L44">View Source</a>
  263. </span>
  264. <h4 id="Terminal_Gui_Thickness_Right" data-uid="Terminal.Gui.Thickness.Right">Right</h4>
  265. <div class="markdown level1 summary">
  266. Gets or sets the width, in integers, of the right side of the bounding rectangle.
  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 int Right</code></pre>
  272. </div>
  273. <h5 class="fieldValue">Field 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.Int32</span></td>
  284. <td></td>
  285. </tr>
  286. </tbody>
  287. </table>
  288. <span class="small pull-right mobile-hide">
  289. <span class="divider">|</span>
  290. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_Thickness_Top.md&amp;value=---%0Auid%3A%20Terminal.Gui.Thickness.Top%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  291. </span>
  292. <span class="small pull-right mobile-hide">
  293. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Core/Border.cs/#L40">View Source</a>
  294. </span>
  295. <h4 id="Terminal_Gui_Thickness_Top" data-uid="Terminal.Gui.Thickness.Top">Top</h4>
  296. <div class="markdown level1 summary">
  297. Gets or sets the width, in integers, of the upper side of the bounding rectangle.
  298. </div>
  299. <div class="markdown level1 conceptual"></div>
  300. <h5 class="decalaration">Declaration</h5>
  301. <div class="codewrapper">
  302. <pre><code class="lang-csharp hljs">public int Top</code></pre>
  303. </div>
  304. <h5 class="fieldValue">Field Value</h5>
  305. <table class="table table-bordered table-striped table-condensed">
  306. <thead>
  307. <tr>
  308. <th>Type</th>
  309. <th>Description</th>
  310. </tr>
  311. </thead>
  312. <tbody>
  313. <tr>
  314. <td><span class="xref">System.Int32</span></td>
  315. <td></td>
  316. </tr>
  317. </tbody>
  318. </table>
  319. <h3 id="methods">Methods
  320. </h3>
  321. <span class="small pull-right mobile-hide">
  322. <span class="divider">|</span>
  323. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_Thickness_ToString.md&amp;value=---%0Auid%3A%20Terminal.Gui.Thickness.ToString%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  324. </span>
  325. <span class="small pull-right mobile-hide">
  326. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Core/Border.cs/#L86">View Source</a>
  327. </span>
  328. <a id="Terminal_Gui_Thickness_ToString_" data-uid="Terminal.Gui.Thickness.ToString*"></a>
  329. <h4 id="Terminal_Gui_Thickness_ToString" data-uid="Terminal.Gui.Thickness.ToString">ToString()</h4>
  330. <div class="markdown level1 summary">Returns the fully qualified type name of this instance.</div>
  331. <div class="markdown level1 conceptual"></div>
  332. <h5 class="decalaration">Declaration</h5>
  333. <div class="codewrapper">
  334. <pre><code class="lang-csharp hljs">public override string ToString()</code></pre>
  335. </div>
  336. <h5 class="returns">Returns</h5>
  337. <table class="table table-bordered table-striped table-condensed">
  338. <thead>
  339. <tr>
  340. <th>Type</th>
  341. <th>Description</th>
  342. </tr>
  343. </thead>
  344. <tbody>
  345. <tr>
  346. <td><span class="xref">System.String</span></td>
  347. <td>The fully qualified type name.</td>
  348. </tr>
  349. </tbody>
  350. </table>
  351. <h5 class="overrides">Overrides</h5>
  352. <div><span class="xref">System.ValueType.ToString()</span></div>
  353. </article>
  354. </div>
  355. <div class="hidden-sm col-md-2" role="complementary">
  356. <div class="sideaffix">
  357. <div class="contribution">
  358. <ul class="nav">
  359. <li>
  360. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_Thickness.md&amp;value=---%0Auid%3A%20Terminal.Gui.Thickness%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A" class="contribution-link">Improve this Doc</a>
  361. </li>
  362. <li>
  363. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Core/Border.cs/#L32" class="contribution-link">View Source</a>
  364. </li>
  365. </ul>
  366. </div>
  367. <nav class="bs-docs-sidebar hidden-print hidden-xs hidden-sm affix" id="affix">
  368. <h5>In This Article</h5>
  369. <div></div>
  370. </nav>
  371. </div>
  372. </div>
  373. </div>
  374. </div>
  375. <footer>
  376. <div class="grad-bottom"></div>
  377. <div class="footer">
  378. <div class="container">
  379. <span class="pull-right">
  380. <a href="#top">Back to top</a>
  381. </span>
  382. <span>Generated by <strong>DocFX</strong></span>
  383. </div>
  384. </div>
  385. </footer>
  386. </div>
  387. <script type="text/javascript" src="../../styles/docfx.vendor.js"></script>
  388. <script type="text/javascript" src="../../styles/docfx.js"></script>
  389. <script type="text/javascript" src="../../styles/main.js"></script>
  390. </body>
  391. </html>