Terminal.Gui.Graphs.PathAnnotation.html 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343
  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 PathAnnotation
  8. </title>
  9. <meta name="viewport" content="width=device-width">
  10. <meta name="title" content="Class PathAnnotation
  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.Graphs.PathAnnotation">
  74. <h1 id="Terminal_Gui_Graphs_PathAnnotation" data-uid="Terminal.Gui.Graphs.PathAnnotation" class="text-break">Class PathAnnotation
  75. </h1>
  76. <div class="markdown level0 summary">
  77. Sequence of lines to connect points e.g. of a <a class="xref" href="Terminal.Gui.Graphs.ScatterSeries.html">ScatterSeries</a>
  78. </div>
  79. <div class="markdown level0 conceptual"></div>
  80. <div class="inheritance">
  81. <h5>Inheritance</h5>
  82. <div class="level0"><span class="xref">System.Object</span></div>
  83. <div class="level1"><span class="xref">PathAnnotation</span></div>
  84. </div>
  85. <div class="implements">
  86. <h5>Implements</h5>
  87. <div><a class="xref" href="Terminal.Gui.Graphs.IAnnotation.html">IAnnotation</a></div>
  88. </div>
  89. <div class="inheritedMembers">
  90. <h5>Inherited Members</h5>
  91. <div>
  92. <span class="xref">System.Object.Equals(System.Object)</span>
  93. </div>
  94. <div>
  95. <span class="xref">System.Object.Equals(System.Object, System.Object)</span>
  96. </div>
  97. <div>
  98. <span class="xref">System.Object.GetHashCode()</span>
  99. </div>
  100. <div>
  101. <span class="xref">System.Object.GetType()</span>
  102. </div>
  103. <div>
  104. <span class="xref">System.Object.MemberwiseClone()</span>
  105. </div>
  106. <div>
  107. <span class="xref">System.Object.ReferenceEquals(System.Object, System.Object)</span>
  108. </div>
  109. <div>
  110. <span class="xref">System.Object.ToString()</span>
  111. </div>
  112. </div>
  113. <h6><strong>Namespace</strong>: <a class="xref" href="Terminal.Gui.Graphs.html">Terminal.Gui.Graphs</a></h6>
  114. <h6><strong>Assembly</strong>: Terminal.Gui.dll</h6>
  115. <h5 id="Terminal_Gui_Graphs_PathAnnotation_syntax">Syntax</h5>
  116. <div class="codewrapper">
  117. <pre><code class="lang-csharp hljs">public class PathAnnotation : IAnnotation</code></pre>
  118. </div>
  119. <h3 id="properties">Properties
  120. </h3>
  121. <span class="small pull-right mobile-hide">
  122. <span class="divider">|</span>
  123. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_Graphs_PathAnnotation_BeforeSeries.md&amp;value=---%0Auid%3A%20Terminal.Gui.Graphs.PathAnnotation.BeforeSeries%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>
  124. </span>
  125. <span class="small pull-right mobile-hide">
  126. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Core/Graphs/Annotations.cs/#L239">View Source</a>
  127. </span>
  128. <a id="Terminal_Gui_Graphs_PathAnnotation_BeforeSeries_" data-uid="Terminal.Gui.Graphs.PathAnnotation.BeforeSeries*"></a>
  129. <h4 id="Terminal_Gui_Graphs_PathAnnotation_BeforeSeries" data-uid="Terminal.Gui.Graphs.PathAnnotation.BeforeSeries">BeforeSeries</h4>
  130. <div class="markdown level1 summary">
  131. True to add line before plotting series. Defaults to false
  132. </div>
  133. <div class="markdown level1 conceptual"></div>
  134. <h5 class="decalaration">Declaration</h5>
  135. <div class="codewrapper">
  136. <pre><code class="lang-csharp hljs">public bool BeforeSeries { get; set; }</code></pre>
  137. </div>
  138. <h5 class="propertyValue">Property Value</h5>
  139. <table class="table table-bordered table-striped table-condensed">
  140. <thead>
  141. <tr>
  142. <th>Type</th>
  143. <th>Description</th>
  144. </tr>
  145. </thead>
  146. <tbody>
  147. <tr>
  148. <td><span class="xref">System.Boolean</span></td>
  149. <td></td>
  150. </tr>
  151. </tbody>
  152. </table>
  153. <span class="small pull-right mobile-hide">
  154. <span class="divider">|</span>
  155. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_Graphs_PathAnnotation_LineColor.md&amp;value=---%0Auid%3A%20Terminal.Gui.Graphs.PathAnnotation.LineColor%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>
  156. </span>
  157. <span class="small pull-right mobile-hide">
  158. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Core/Graphs/Annotations.cs/#L229">View Source</a>
  159. </span>
  160. <a id="Terminal_Gui_Graphs_PathAnnotation_LineColor_" data-uid="Terminal.Gui.Graphs.PathAnnotation.LineColor*"></a>
  161. <h4 id="Terminal_Gui_Graphs_PathAnnotation_LineColor" data-uid="Terminal.Gui.Graphs.PathAnnotation.LineColor">LineColor</h4>
  162. <div class="markdown level1 summary">
  163. Color for the line that connects points
  164. </div>
  165. <div class="markdown level1 conceptual"></div>
  166. <h5 class="decalaration">Declaration</h5>
  167. <div class="codewrapper">
  168. <pre><code class="lang-csharp hljs">public Attribute? LineColor { get; set; }</code></pre>
  169. </div>
  170. <h5 class="propertyValue">Property Value</h5>
  171. <table class="table table-bordered table-striped table-condensed">
  172. <thead>
  173. <tr>
  174. <th>Type</th>
  175. <th>Description</th>
  176. </tr>
  177. </thead>
  178. <tbody>
  179. <tr>
  180. <td><span class="xref">System.Nullable</span>&lt;<a class="xref" href="Terminal.Gui.Attribute.html">Attribute</a>&gt;</td>
  181. <td></td>
  182. </tr>
  183. </tbody>
  184. </table>
  185. <span class="small pull-right mobile-hide">
  186. <span class="divider">|</span>
  187. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_Graphs_PathAnnotation_LineRune.md&amp;value=---%0Auid%3A%20Terminal.Gui.Graphs.PathAnnotation.LineRune%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>
  188. </span>
  189. <span class="small pull-right mobile-hide">
  190. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Core/Graphs/Annotations.cs/#L234">View Source</a>
  191. </span>
  192. <a id="Terminal_Gui_Graphs_PathAnnotation_LineRune_" data-uid="Terminal.Gui.Graphs.PathAnnotation.LineRune*"></a>
  193. <h4 id="Terminal_Gui_Graphs_PathAnnotation_LineRune" data-uid="Terminal.Gui.Graphs.PathAnnotation.LineRune">LineRune</h4>
  194. <div class="markdown level1 summary">
  195. The symbol that gets drawn along the line, defaults to &apos;.&apos;
  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 Rune LineRune { get; set; }</code></pre>
  201. </div>
  202. <h5 class="propertyValue">Property 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><span class="xref">System.Rune</span></td>
  213. <td></td>
  214. </tr>
  215. </tbody>
  216. </table>
  217. <span class="small pull-right mobile-hide">
  218. <span class="divider">|</span>
  219. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_Graphs_PathAnnotation_Points.md&amp;value=---%0Auid%3A%20Terminal.Gui.Graphs.PathAnnotation.Points%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>
  220. </span>
  221. <span class="small pull-right mobile-hide">
  222. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Core/Graphs/Annotations.cs/#L224">View Source</a>
  223. </span>
  224. <a id="Terminal_Gui_Graphs_PathAnnotation_Points_" data-uid="Terminal.Gui.Graphs.PathAnnotation.Points*"></a>
  225. <h4 id="Terminal_Gui_Graphs_PathAnnotation_Points" data-uid="Terminal.Gui.Graphs.PathAnnotation.Points">Points</h4>
  226. <div class="markdown level1 summary">
  227. Points that should be connected. Lines will be drawn between points in the order
  228. they appear in the list
  229. </div>
  230. <div class="markdown level1 conceptual"></div>
  231. <h5 class="decalaration">Declaration</h5>
  232. <div class="codewrapper">
  233. <pre><code class="lang-csharp hljs">public List&lt;PointF&gt; Points { get; set; }</code></pre>
  234. </div>
  235. <h5 class="propertyValue">Property Value</h5>
  236. <table class="table table-bordered table-striped table-condensed">
  237. <thead>
  238. <tr>
  239. <th>Type</th>
  240. <th>Description</th>
  241. </tr>
  242. </thead>
  243. <tbody>
  244. <tr>
  245. <td><span class="xref">System.Collections.Generic.List</span>&lt;<a class="xref" href="Terminal.Gui.PointF.html">PointF</a>&gt;</td>
  246. <td></td>
  247. </tr>
  248. </tbody>
  249. </table>
  250. <h3 id="methods">Methods
  251. </h3>
  252. <span class="small pull-right mobile-hide">
  253. <span class="divider">|</span>
  254. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_Graphs_PathAnnotation_Render_Terminal_Gui_GraphView_.md&amp;value=---%0Auid%3A%20Terminal.Gui.Graphs.PathAnnotation.Render(Terminal.Gui.GraphView)%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>
  255. </span>
  256. <span class="small pull-right mobile-hide">
  257. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Core/Graphs/Annotations.cs/#L246">View Source</a>
  258. </span>
  259. <a id="Terminal_Gui_Graphs_PathAnnotation_Render_" data-uid="Terminal.Gui.Graphs.PathAnnotation.Render*"></a>
  260. <h4 id="Terminal_Gui_Graphs_PathAnnotation_Render_Terminal_Gui_GraphView_" data-uid="Terminal.Gui.Graphs.PathAnnotation.Render(Terminal.Gui.GraphView)">Render(GraphView)</h4>
  261. <div class="markdown level1 summary">
  262. Draws lines connecting each of the <a class="xref" href="Terminal.Gui.Graphs.PathAnnotation.html#Terminal_Gui_Graphs_PathAnnotation_Points">Points</a>
  263. </div>
  264. <div class="markdown level1 conceptual"></div>
  265. <h5 class="decalaration">Declaration</h5>
  266. <div class="codewrapper">
  267. <pre><code class="lang-csharp hljs">public void Render(GraphView graph)</code></pre>
  268. </div>
  269. <h5 class="parameters">Parameters</h5>
  270. <table class="table table-bordered table-striped table-condensed">
  271. <thead>
  272. <tr>
  273. <th>Type</th>
  274. <th>Name</th>
  275. <th>Description</th>
  276. </tr>
  277. </thead>
  278. <tbody>
  279. <tr>
  280. <td><a class="xref" href="Terminal.Gui.GraphView.html">GraphView</a></td>
  281. <td><span class="parametername">graph</span></td>
  282. <td></td>
  283. </tr>
  284. </tbody>
  285. </table>
  286. <h3 id="implements">Implements</h3>
  287. <div>
  288. <a class="xref" href="Terminal.Gui.Graphs.IAnnotation.html">IAnnotation</a>
  289. </div>
  290. </article>
  291. </div>
  292. <div class="hidden-sm col-md-2" role="complementary">
  293. <div class="sideaffix">
  294. <div class="contribution">
  295. <ul class="nav">
  296. <li>
  297. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_Graphs_PathAnnotation.md&amp;value=---%0Auid%3A%20Terminal.Gui.Graphs.PathAnnotation%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>
  298. </li>
  299. <li>
  300. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Core/Graphs/Annotations.cs/#L218" class="contribution-link">View Source</a>
  301. </li>
  302. </ul>
  303. </div>
  304. <nav class="bs-docs-sidebar hidden-print hidden-xs hidden-sm affix" id="affix">
  305. <h5>In This Article</h5>
  306. <div></div>
  307. </nav>
  308. </div>
  309. </div>
  310. </div>
  311. </div>
  312. <footer>
  313. <div class="grad-bottom"></div>
  314. <div class="footer">
  315. <div class="container">
  316. <span class="pull-right">
  317. <a href="#top">Back to top</a>
  318. </span>
  319. <span>Generated by <strong>DocFX</strong></span>
  320. </div>
  321. </div>
  322. </footer>
  323. </div>
  324. <script type="text/javascript" src="../../styles/docfx.vendor.js"></script>
  325. <script type="text/javascript" src="../../styles/docfx.js"></script>
  326. <script type="text/javascript" src="../../styles/main.js"></script>
  327. </body>
  328. </html>