Terminal.Gui.Thickness.html 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331
  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 Thickness
  8. </title>
  9. <meta name="viewport" content="width=device-width">
  10. <meta name="title" content="Class Thickness
  11. ">
  12. <meta name="generator" content="docfx 2.59.3.0">
  13. <link rel="shortcut icon" href="../../favicon.ico">
  14. <link rel="stylesheet" href="../../styles/docfx.vendor.css">
  15. <link rel="stylesheet" href="../../styles/docfx.css">
  16. <link rel="stylesheet" href="../../styles/main.css">
  17. <meta property="docfx:navrel" content="../../toc.html">
  18. <meta property="docfx:tocrel" content="toc.html">
  19. <meta property="docfx:rel" content="../../">
  20. </head>
  21. <body data-spy="scroll" data-target="#affix" data-offset="120">
  22. <div id="wrapper">
  23. <header>
  24. <nav id="autocollapse" class="navbar navbar-inverse ng-scope" role="navigation">
  25. <div class="container">
  26. <div class="navbar-header">
  27. <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#navbar">
  28. <span class="sr-only">Toggle navigation</span>
  29. <span class="icon-bar"></span>
  30. <span class="icon-bar"></span>
  31. <span class="icon-bar"></span>
  32. </button>
  33. <a class="navbar-brand" href="../../index.html">
  34. <img id="logo" class="svg" src="../../images/logo48.png" alt="">
  35. </a>
  36. </div>
  37. <div class="collapse navbar-collapse" id="navbar">
  38. <form class="navbar-form navbar-right" role="search" id="search">
  39. <div class="form-group">
  40. <input type="text" class="form-control" id="search-query" placeholder="Search" autocomplete="off">
  41. </div>
  42. </form>
  43. </div>
  44. </div>
  45. </nav>
  46. <div class="subnav navbar navbar-default">
  47. <div class="container hide-when-search" id="breadcrumb">
  48. <ul class="breadcrumb">
  49. <li></li>
  50. </ul>
  51. </div>
  52. </div>
  53. </header>
  54. <div class="container body-content">
  55. <div id="search-results">
  56. <div class="search-list">Search Results for <span></span></div>
  57. <div class="sr-items">
  58. <p><i class="glyphicon glyphicon-refresh index-loading"></i></p>
  59. </div>
  60. <ul id="pagination" data-first="First" data-prev="Previous" data-next="Next" data-last="Last"></ul>
  61. </div>
  62. </div>
  63. <div role="main" class="container body-content hide-when-search">
  64. <div class="sidenav hide-when-search">
  65. <a class="btn toc-toggle collapse" data-toggle="collapse" href="#sidetoggle" aria-expanded="false" aria-controls="sidetoggle">Show / Hide Table of Contents</a>
  66. <div class="sidetoggle collapse" id="sidetoggle">
  67. <div id="sidetoc"></div>
  68. </div>
  69. </div>
  70. <div class="article row grid-right">
  71. <div class="col-md-10">
  72. <article class="content wrap" id="_content" data-uid="Terminal.Gui.Thickness">
  73. <h1 id="Terminal_Gui_Thickness" data-uid="Terminal.Gui.Thickness" class="text-break">Class Thickness
  74. </h1>
  75. <div class="markdown level0 summary">
  76. Describes the thickness of a frame around a rectangle. Four <span class="xref">System.Int32</span> values describe
  77. 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
  78. of the rectangle, respectively.
  79. </div>
  80. <div class="markdown level0 conceptual"></div>
  81. <div class="inheritance">
  82. <h5>Inheritance</h5>
  83. <div class="level0"><span class="xref">System.Object</span></div>
  84. <div class="level1"><span class="xref">Thickness</span></div>
  85. </div>
  86. <h6><strong>Namespace</strong>: <a class="xref" href="Terminal.Gui.html">Terminal.Gui</a></h6>
  87. <h6><strong>Assembly</strong>: Terminal.Gui.dll</h6>
  88. <h5 id="Terminal_Gui_Thickness_syntax">Syntax</h5>
  89. <div class="codewrapper">
  90. <pre><code class="lang-csharp hljs">public sealed class Thickness : ValueType</code></pre>
  91. </div>
  92. <h3 id="constructors">Constructors
  93. </h3>
  94. <a id="Terminal_Gui_Thickness__ctor_" data-uid="Terminal.Gui.Thickness.#ctor*"></a>
  95. <h4 id="Terminal_Gui_Thickness__ctor_System_Int32_" data-uid="Terminal.Gui.Thickness.#ctor(System.Int32)">Thickness(Int32)</h4>
  96. <div class="markdown level1 summary">
  97. Initializes a new instance of the <a class="xref" href="Terminal.Gui.Thickness.html">Thickness</a> structure that has the
  98. specified uniform length on each side.
  99. </div>
  100. <div class="markdown level1 conceptual"></div>
  101. <h5 class="decalaration">Declaration</h5>
  102. <div class="codewrapper">
  103. <pre><code class="lang-csharp hljs">public Thickness(int length)</code></pre>
  104. </div>
  105. <h5 class="parameters">Parameters</h5>
  106. <table class="table table-bordered table-striped table-condensed">
  107. <thead>
  108. <tr>
  109. <th>Type</th>
  110. <th>Name</th>
  111. <th>Description</th>
  112. </tr>
  113. </thead>
  114. <tbody>
  115. <tr>
  116. <td><span class="xref">System.Int32</span></td>
  117. <td><span class="parametername">length</span></td>
  118. <td></td>
  119. </tr>
  120. </tbody>
  121. </table>
  122. <a id="Terminal_Gui_Thickness__ctor_" data-uid="Terminal.Gui.Thickness.#ctor*"></a>
  123. <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>
  124. <div class="markdown level1 summary">
  125. Initializes a new instance of the <a class="xref" href="Terminal.Gui.Thickness.html">Thickness</a> structure that has specific
  126. lengths (supplied as a <span class="xref">System.Int32</span>) applied to each side of the rectangle.
  127. </div>
  128. <div class="markdown level1 conceptual"></div>
  129. <h5 class="decalaration">Declaration</h5>
  130. <div class="codewrapper">
  131. <pre><code class="lang-csharp hljs">public Thickness(int left, int top, int right, int bottom)</code></pre>
  132. </div>
  133. <h5 class="parameters">Parameters</h5>
  134. <table class="table table-bordered table-striped table-condensed">
  135. <thead>
  136. <tr>
  137. <th>Type</th>
  138. <th>Name</th>
  139. <th>Description</th>
  140. </tr>
  141. </thead>
  142. <tbody>
  143. <tr>
  144. <td><span class="xref">System.Int32</span></td>
  145. <td><span class="parametername">left</span></td>
  146. <td></td>
  147. </tr>
  148. <tr>
  149. <td><span class="xref">System.Int32</span></td>
  150. <td><span class="parametername">top</span></td>
  151. <td></td>
  152. </tr>
  153. <tr>
  154. <td><span class="xref">System.Int32</span></td>
  155. <td><span class="parametername">right</span></td>
  156. <td></td>
  157. </tr>
  158. <tr>
  159. <td><span class="xref">System.Int32</span></td>
  160. <td><span class="parametername">bottom</span></td>
  161. <td></td>
  162. </tr>
  163. </tbody>
  164. </table>
  165. <h3 id="fields">Fields
  166. </h3>
  167. <h4 id="Terminal_Gui_Thickness_Bottom" data-uid="Terminal.Gui.Thickness.Bottom">Bottom</h4>
  168. <div class="markdown level1 summary">
  169. Gets or sets the width, in integers, of the lower side of the bounding rectangle.
  170. </div>
  171. <div class="markdown level1 conceptual"></div>
  172. <h5 class="decalaration">Declaration</h5>
  173. <div class="codewrapper">
  174. <pre><code class="lang-csharp hljs">public int Bottom</code></pre>
  175. </div>
  176. <h5 class="fieldValue">Field Value</h5>
  177. <table class="table table-bordered table-striped table-condensed">
  178. <thead>
  179. <tr>
  180. <th>Type</th>
  181. <th>Description</th>
  182. </tr>
  183. </thead>
  184. <tbody>
  185. <tr>
  186. <td><span class="xref">System.Int32</span></td>
  187. <td></td>
  188. </tr>
  189. </tbody>
  190. </table>
  191. <h4 id="Terminal_Gui_Thickness_Left" data-uid="Terminal.Gui.Thickness.Left">Left</h4>
  192. <div class="markdown level1 summary">
  193. Gets or sets the width, in integers, of the left side of the bounding rectangle.
  194. </div>
  195. <div class="markdown level1 conceptual"></div>
  196. <h5 class="decalaration">Declaration</h5>
  197. <div class="codewrapper">
  198. <pre><code class="lang-csharp hljs">public int Left</code></pre>
  199. </div>
  200. <h5 class="fieldValue">Field Value</h5>
  201. <table class="table table-bordered table-striped table-condensed">
  202. <thead>
  203. <tr>
  204. <th>Type</th>
  205. <th>Description</th>
  206. </tr>
  207. </thead>
  208. <tbody>
  209. <tr>
  210. <td><span class="xref">System.Int32</span></td>
  211. <td></td>
  212. </tr>
  213. </tbody>
  214. </table>
  215. <h4 id="Terminal_Gui_Thickness_Right" data-uid="Terminal.Gui.Thickness.Right">Right</h4>
  216. <div class="markdown level1 summary">
  217. Gets or sets the width, in integers, of the right side of the bounding rectangle.
  218. </div>
  219. <div class="markdown level1 conceptual"></div>
  220. <h5 class="decalaration">Declaration</h5>
  221. <div class="codewrapper">
  222. <pre><code class="lang-csharp hljs">public int Right</code></pre>
  223. </div>
  224. <h5 class="fieldValue">Field Value</h5>
  225. <table class="table table-bordered table-striped table-condensed">
  226. <thead>
  227. <tr>
  228. <th>Type</th>
  229. <th>Description</th>
  230. </tr>
  231. </thead>
  232. <tbody>
  233. <tr>
  234. <td><span class="xref">System.Int32</span></td>
  235. <td></td>
  236. </tr>
  237. </tbody>
  238. </table>
  239. <h4 id="Terminal_Gui_Thickness_Top" data-uid="Terminal.Gui.Thickness.Top">Top</h4>
  240. <div class="markdown level1 summary">
  241. Gets or sets the width, in integers, of the upper side of the bounding rectangle.
  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 int Top</code></pre>
  247. </div>
  248. <h5 class="fieldValue">Field 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.Int32</span></td>
  259. <td></td>
  260. </tr>
  261. </tbody>
  262. </table>
  263. <h3 id="methods">Methods
  264. </h3>
  265. <a id="Terminal_Gui_Thickness_ToString_" data-uid="Terminal.Gui.Thickness.ToString*"></a>
  266. <h4 id="Terminal_Gui_Thickness_ToString" data-uid="Terminal.Gui.Thickness.ToString">ToString()</h4>
  267. <div class="markdown level1 summary">Returns the fully qualified type name of this instance.</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 override string ToString()</code></pre>
  272. </div>
  273. <h5 class="returns">Returns</h5>
  274. <table class="table table-bordered table-striped table-condensed">
  275. <thead>
  276. <tr>
  277. <th>Type</th>
  278. <th>Description</th>
  279. </tr>
  280. </thead>
  281. <tbody>
  282. <tr>
  283. <td><span class="xref">System.String</span></td>
  284. <td>The fully qualified type name.</td>
  285. </tr>
  286. </tbody>
  287. </table>
  288. </article>
  289. </div>
  290. <div class="hidden-sm col-md-2" role="complementary">
  291. <div class="sideaffix">
  292. <nav class="bs-docs-sidebar hidden-print hidden-xs hidden-sm affix" id="affix">
  293. <h5>In This Article</h5>
  294. <div></div>
  295. </nav>
  296. </div>
  297. </div>
  298. </div>
  299. </div>
  300. <footer>
  301. <div class="grad-bottom"></div>
  302. <div class="footer">
  303. <div class="container">
  304. <span class="pull-right">
  305. <a href="#top">Back to top</a>
  306. </span>
  307. <span>Generated by <strong>DocFX</strong></span>
  308. </div>
  309. </div>
  310. </footer>
  311. </div>
  312. <script type="text/javascript" src="../../styles/docfx.vendor.js"></script>
  313. <script type="text/javascript" src="../../styles/docfx.js"></script>
  314. <script type="text/javascript" src="../../styles/main.js"></script>
  315. </body>
  316. </html>