Terminal.Gui.Thickness.html 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332
  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. <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">Class 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="inheritance">
  83. <h5>Inheritance</h5>
  84. <div class="level0"><span class="xref">System.Object</span></div>
  85. <div class="level1"><span class="xref">Thickness</span></div>
  86. </div>
  87. <h6><strong>Namespace</strong>: <a class="xref" href="Terminal.Gui.html">Terminal.Gui</a></h6>
  88. <h6><strong>Assembly</strong>: Terminal.Gui.dll</h6>
  89. <h5 id="Terminal_Gui_Thickness_syntax">Syntax</h5>
  90. <div class="codewrapper">
  91. <pre><code class="lang-csharp hljs">public sealed class Thickness : ValueType</code></pre>
  92. </div>
  93. <h3 id="constructors">Constructors
  94. </h3>
  95. <a id="Terminal_Gui_Thickness__ctor_" data-uid="Terminal.Gui.Thickness.#ctor*"></a>
  96. <h4 id="Terminal_Gui_Thickness__ctor_System_Int32_" data-uid="Terminal.Gui.Thickness.#ctor(System.Int32)">Thickness(Int32)</h4>
  97. <div class="markdown level1 summary">
  98. Initializes a new instance of the <a class="xref" href="Terminal.Gui.Thickness.html">Thickness</a> structure that has the
  99. specified uniform length on each side.
  100. </div>
  101. <div class="markdown level1 conceptual"></div>
  102. <h5 class="decalaration">Declaration</h5>
  103. <div class="codewrapper">
  104. <pre><code class="lang-csharp hljs">public Thickness(int length)</code></pre>
  105. </div>
  106. <h5 class="parameters">Parameters</h5>
  107. <table class="table table-bordered table-striped table-condensed">
  108. <thead>
  109. <tr>
  110. <th>Type</th>
  111. <th>Name</th>
  112. <th>Description</th>
  113. </tr>
  114. </thead>
  115. <tbody>
  116. <tr>
  117. <td><span class="xref">System.Int32</span></td>
  118. <td><span class="parametername">length</span></td>
  119. <td></td>
  120. </tr>
  121. </tbody>
  122. </table>
  123. <a id="Terminal_Gui_Thickness__ctor_" data-uid="Terminal.Gui.Thickness.#ctor*"></a>
  124. <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>
  125. <div class="markdown level1 summary">
  126. Initializes a new instance of the <a class="xref" href="Terminal.Gui.Thickness.html">Thickness</a> structure that has specific
  127. lengths (supplied as a <span class="xref">System.Int32</span>) applied to each side of the rectangle.
  128. </div>
  129. <div class="markdown level1 conceptual"></div>
  130. <h5 class="decalaration">Declaration</h5>
  131. <div class="codewrapper">
  132. <pre><code class="lang-csharp hljs">public Thickness(int left, int top, int right, int bottom)</code></pre>
  133. </div>
  134. <h5 class="parameters">Parameters</h5>
  135. <table class="table table-bordered table-striped table-condensed">
  136. <thead>
  137. <tr>
  138. <th>Type</th>
  139. <th>Name</th>
  140. <th>Description</th>
  141. </tr>
  142. </thead>
  143. <tbody>
  144. <tr>
  145. <td><span class="xref">System.Int32</span></td>
  146. <td><span class="parametername">left</span></td>
  147. <td></td>
  148. </tr>
  149. <tr>
  150. <td><span class="xref">System.Int32</span></td>
  151. <td><span class="parametername">top</span></td>
  152. <td></td>
  153. </tr>
  154. <tr>
  155. <td><span class="xref">System.Int32</span></td>
  156. <td><span class="parametername">right</span></td>
  157. <td></td>
  158. </tr>
  159. <tr>
  160. <td><span class="xref">System.Int32</span></td>
  161. <td><span class="parametername">bottom</span></td>
  162. <td></td>
  163. </tr>
  164. </tbody>
  165. </table>
  166. <h3 id="fields">Fields
  167. </h3>
  168. <h4 id="Terminal_Gui_Thickness_Bottom" data-uid="Terminal.Gui.Thickness.Bottom">Bottom</h4>
  169. <div class="markdown level1 summary">
  170. Gets or sets the width, in integers, of the lower side of the bounding rectangle.
  171. </div>
  172. <div class="markdown level1 conceptual"></div>
  173. <h5 class="decalaration">Declaration</h5>
  174. <div class="codewrapper">
  175. <pre><code class="lang-csharp hljs">public int Bottom</code></pre>
  176. </div>
  177. <h5 class="fieldValue">Field Value</h5>
  178. <table class="table table-bordered table-striped table-condensed">
  179. <thead>
  180. <tr>
  181. <th>Type</th>
  182. <th>Description</th>
  183. </tr>
  184. </thead>
  185. <tbody>
  186. <tr>
  187. <td><span class="xref">System.Int32</span></td>
  188. <td></td>
  189. </tr>
  190. </tbody>
  191. </table>
  192. <h4 id="Terminal_Gui_Thickness_Left" data-uid="Terminal.Gui.Thickness.Left">Left</h4>
  193. <div class="markdown level1 summary">
  194. Gets or sets the width, in integers, of the left side of the bounding rectangle.
  195. </div>
  196. <div class="markdown level1 conceptual"></div>
  197. <h5 class="decalaration">Declaration</h5>
  198. <div class="codewrapper">
  199. <pre><code class="lang-csharp hljs">public int Left</code></pre>
  200. </div>
  201. <h5 class="fieldValue">Field Value</h5>
  202. <table class="table table-bordered table-striped table-condensed">
  203. <thead>
  204. <tr>
  205. <th>Type</th>
  206. <th>Description</th>
  207. </tr>
  208. </thead>
  209. <tbody>
  210. <tr>
  211. <td><span class="xref">System.Int32</span></td>
  212. <td></td>
  213. </tr>
  214. </tbody>
  215. </table>
  216. <h4 id="Terminal_Gui_Thickness_Right" data-uid="Terminal.Gui.Thickness.Right">Right</h4>
  217. <div class="markdown level1 summary">
  218. Gets or sets the width, in integers, of the right side of the bounding rectangle.
  219. </div>
  220. <div class="markdown level1 conceptual"></div>
  221. <h5 class="decalaration">Declaration</h5>
  222. <div class="codewrapper">
  223. <pre><code class="lang-csharp hljs">public int Right</code></pre>
  224. </div>
  225. <h5 class="fieldValue">Field Value</h5>
  226. <table class="table table-bordered table-striped table-condensed">
  227. <thead>
  228. <tr>
  229. <th>Type</th>
  230. <th>Description</th>
  231. </tr>
  232. </thead>
  233. <tbody>
  234. <tr>
  235. <td><span class="xref">System.Int32</span></td>
  236. <td></td>
  237. </tr>
  238. </tbody>
  239. </table>
  240. <h4 id="Terminal_Gui_Thickness_Top" data-uid="Terminal.Gui.Thickness.Top">Top</h4>
  241. <div class="markdown level1 summary">
  242. Gets or sets the width, in integers, of the upper side of the bounding rectangle.
  243. </div>
  244. <div class="markdown level1 conceptual"></div>
  245. <h5 class="decalaration">Declaration</h5>
  246. <div class="codewrapper">
  247. <pre><code class="lang-csharp hljs">public int Top</code></pre>
  248. </div>
  249. <h5 class="fieldValue">Field Value</h5>
  250. <table class="table table-bordered table-striped table-condensed">
  251. <thead>
  252. <tr>
  253. <th>Type</th>
  254. <th>Description</th>
  255. </tr>
  256. </thead>
  257. <tbody>
  258. <tr>
  259. <td><span class="xref">System.Int32</span></td>
  260. <td></td>
  261. </tr>
  262. </tbody>
  263. </table>
  264. <h3 id="methods">Methods
  265. </h3>
  266. <a id="Terminal_Gui_Thickness_ToString_" data-uid="Terminal.Gui.Thickness.ToString*"></a>
  267. <h4 id="Terminal_Gui_Thickness_ToString" data-uid="Terminal.Gui.Thickness.ToString">ToString()</h4>
  268. <div class="markdown level1 summary">Returns the fully qualified type name of this instance.</div>
  269. <div class="markdown level1 conceptual"></div>
  270. <h5 class="decalaration">Declaration</h5>
  271. <div class="codewrapper">
  272. <pre><code class="lang-csharp hljs">public override string ToString()</code></pre>
  273. </div>
  274. <h5 class="returns">Returns</h5>
  275. <table class="table table-bordered table-striped table-condensed">
  276. <thead>
  277. <tr>
  278. <th>Type</th>
  279. <th>Description</th>
  280. </tr>
  281. </thead>
  282. <tbody>
  283. <tr>
  284. <td><span class="xref">System.String</span></td>
  285. <td>The fully qualified type name.</td>
  286. </tr>
  287. </tbody>
  288. </table>
  289. </article>
  290. </div>
  291. <div class="hidden-sm col-md-2" role="complementary">
  292. <div class="sideaffix">
  293. <nav class="bs-docs-sidebar hidden-print hidden-xs hidden-sm affix" id="affix">
  294. <h5>In This Article</h5>
  295. <div></div>
  296. </nav>
  297. </div>
  298. </div>
  299. </div>
  300. </div>
  301. <footer>
  302. <div class="grad-bottom"></div>
  303. <div class="footer">
  304. <div class="container">
  305. <span class="pull-right">
  306. <a href="#top">Back to top</a>
  307. </span>
  308. <span>Generated by <strong>DocFX</strong></span>
  309. </div>
  310. </div>
  311. </footer>
  312. </div>
  313. <script type="text/javascript" src="../../styles/docfx.vendor.js"></script>
  314. <script type="text/javascript" src="../../styles/docfx.js"></script>
  315. <script type="text/javascript" src="../../styles/main.js"></script>
  316. </body>
  317. </html>