Terminal.Gui.Thickness.html 12 KB

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