Terminal.Gui.Graphs.PathAnnotation.html 16 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 PathAnnotation
  8. </title>
  9. <meta name="viewport" content="width=device-width">
  10. <meta name="title" content="Class PathAnnotation
  11. ">
  12. <link rel="shortcut icon" href="../../favicon.ico">
  13. <link rel="stylesheet" href="../../styles/docfx.vendor.min.css">
  14. <link rel="stylesheet" href="../../styles/docfx.css">
  15. <link rel="stylesheet" href="../../styles/main.css">
  16. <meta property="docfx:navrel" content="../../toc.html">
  17. <meta property="docfx:tocrel" content="toc.html">
  18. <meta property="docfx:rel" content="../../">
  19. </head>
  20. <body data-spy="scroll" data-target="#affix" data-offset="120">
  21. <div id="wrapper">
  22. <header>
  23. <nav id="autocollapse" class="navbar navbar-inverse ng-scope" role="navigation">
  24. <div class="container">
  25. <div class="navbar-header">
  26. <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#navbar">
  27. <span class="sr-only">Toggle navigation</span>
  28. <span class="icon-bar"></span>
  29. <span class="icon-bar"></span>
  30. <span class="icon-bar"></span>
  31. </button>
  32. <a class="navbar-brand" href="../../index.html">
  33. <img id="logo" class="svg" src="../../images/logo48.png" alt="">
  34. </a>
  35. </div>
  36. <div class="collapse navbar-collapse" id="navbar">
  37. <form class="navbar-form navbar-right" role="search" id="search">
  38. <div class="form-group">
  39. <input type="text" class="form-control" id="search-query" placeholder="Search" autocomplete="off">
  40. </div>
  41. </form>
  42. </div>
  43. </div>
  44. </nav>
  45. <div class="subnav navbar navbar-default">
  46. <div class="container hide-when-search" id="breadcrumb">
  47. <ul class="breadcrumb">
  48. <li></li>
  49. </ul>
  50. </div>
  51. </div>
  52. </header>
  53. <div class="container body-content">
  54. <div id="search-results">
  55. <div class="search-list">Search Results for <span></span></div>
  56. <div class="sr-items">
  57. <p><i class="glyphicon glyphicon-refresh index-loading"></i></p>
  58. </div>
  59. <ul id="pagination" data-first="First" data-prev="Previous" data-next="Next" data-last="Last"></ul>
  60. </div>
  61. </div>
  62. <div role="main" class="container body-content hide-when-search">
  63. <div class="sidenav hide-when-search">
  64. <a class="btn toc-toggle collapse" data-toggle="collapse" href="#sidetoggle" aria-expanded="false" aria-controls="sidetoggle">Show / Hide Table of Contents</a>
  65. <div class="sidetoggle collapse" id="sidetoggle">
  66. <div id="sidetoc"></div>
  67. </div>
  68. </div>
  69. <div class="article row grid-right">
  70. <div class="col-md-10">
  71. <article class="content wrap" id="_content" data-uid="Terminal.Gui.Graphs.PathAnnotation">
  72. <h1 id="Terminal_Gui_Graphs_PathAnnotation" data-uid="Terminal.Gui.Graphs.PathAnnotation" class="text-break">Class PathAnnotation
  73. </h1>
  74. <div class="markdown level0 summary">Sequence of lines to connect points e.g. of a <a class="xref" href="Terminal.Gui.Graphs.ScatterSeries.html">ScatterSeries</a></div>
  75. <div class="markdown level0 conceptual"></div>
  76. <div class="inheritance">
  77. <h5>Inheritance</h5>
  78. <div class="level0"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a></div>
  79. <div class="level1"><span class="xref">PathAnnotation</span></div>
  80. </div>
  81. <div class="implements">
  82. <h5>Implements</h5>
  83. <div><a class="xref" href="Terminal.Gui.Graphs.IAnnotation.html">IAnnotation</a></div>
  84. </div>
  85. <div class="inheritedMembers">
  86. <h5>Inherited Members</h5>
  87. <div>
  88. <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object)">object.Equals(object)</a>
  89. </div>
  90. <div>
  91. <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object-system-object)">object.Equals(object, object)</a>
  92. </div>
  93. <div>
  94. <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.gethashcode">object.GetHashCode()</a>
  95. </div>
  96. <div>
  97. <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.gettype">object.GetType()</a>
  98. </div>
  99. <div>
  100. <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.memberwiseclone">object.MemberwiseClone()</a>
  101. </div>
  102. <div>
  103. <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.referenceequals">object.ReferenceEquals(object, object)</a>
  104. </div>
  105. <div>
  106. <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.tostring">object.ToString()</a>
  107. </div>
  108. </div>
  109. <h6><strong>Namespace</strong>: <a class="xref" href="Terminal.html">Terminal</a>.<a class="xref" href="Terminal.Gui.html">Gui</a>.<a class="xref" href="Terminal.Gui.Graphs.html">Graphs</a></h6>
  110. <h6><strong>Assembly</strong>: Terminal.Gui.dll</h6>
  111. <h5 id="Terminal_Gui_Graphs_PathAnnotation_syntax">Syntax</h5>
  112. <div class="codewrapper">
  113. <pre><code class="lang-csharp hljs">public class PathAnnotation : IAnnotation</code></pre>
  114. </div>
  115. <h3 id="properties">Properties
  116. </h3>
  117. <span class="small pull-right mobile-hide">
  118. <span class="divider">|</span>
  119. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/docfx/overrides/new?filename=Terminal_Gui_Graphs_PathAnnotation_BeforeSeries.md&amp;value=---%0Auid%3A%20Terminal.Gui.Graphs.PathAnnotation.BeforeSeries%0Asummary%3A%20&#39;*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax&#39;%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Edit this page</a>
  120. </span>
  121. <span class="small pull-right mobile-hide">
  122. <a href="tig:tig/Terminal.Gui/blob/v2_develop/Terminal.Gui/Core/Graphs/Annotations.cs/#L239">View Source</a>
  123. </span>
  124. <a id="Terminal_Gui_Graphs_PathAnnotation_BeforeSeries_" data-uid="Terminal.Gui.Graphs.PathAnnotation.BeforeSeries*"></a>
  125. <h4 id="Terminal_Gui_Graphs_PathAnnotation_BeforeSeries" data-uid="Terminal.Gui.Graphs.PathAnnotation.BeforeSeries">BeforeSeries</h4>
  126. <div class="markdown level1 summary">True to add line before plotting series. Defaults to false</div>
  127. <div class="markdown level1 conceptual"></div>
  128. <h5 class="declaration">Declaration</h5>
  129. <div class="codewrapper">
  130. <pre><code class="lang-csharp hljs">public bool BeforeSeries { get; set; }</code></pre>
  131. </div>
  132. <h5 class="propertyValue">Property Value</h5>
  133. <table class="table table-bordered table-condensed">
  134. <thead>
  135. <tr>
  136. <th>Type</th>
  137. <th>Description</th>
  138. </tr>
  139. </thead>
  140. <tbody>
  141. <tr>
  142. <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
  143. <td></td>
  144. </tr>
  145. </tbody>
  146. </table>
  147. <span class="small pull-right mobile-hide">
  148. <span class="divider">|</span>
  149. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/docfx/overrides/new?filename=Terminal_Gui_Graphs_PathAnnotation_LineColor.md&amp;value=---%0Auid%3A%20Terminal.Gui.Graphs.PathAnnotation.LineColor%0Asummary%3A%20&#39;*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax&#39;%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Edit this page</a>
  150. </span>
  151. <span class="small pull-right mobile-hide">
  152. <a href="tig:tig/Terminal.Gui/blob/v2_develop/Terminal.Gui/Core/Graphs/Annotations.cs/#L229">View Source</a>
  153. </span>
  154. <a id="Terminal_Gui_Graphs_PathAnnotation_LineColor_" data-uid="Terminal.Gui.Graphs.PathAnnotation.LineColor*"></a>
  155. <h4 id="Terminal_Gui_Graphs_PathAnnotation_LineColor" data-uid="Terminal.Gui.Graphs.PathAnnotation.LineColor">LineColor</h4>
  156. <div class="markdown level1 summary">Color for the line that connects points</div>
  157. <div class="markdown level1 conceptual"></div>
  158. <h5 class="declaration">Declaration</h5>
  159. <div class="codewrapper">
  160. <pre><code class="lang-csharp hljs">public Attribute? LineColor { get; set; }</code></pre>
  161. </div>
  162. <h5 class="propertyValue">Property Value</h5>
  163. <table class="table table-bordered table-condensed">
  164. <thead>
  165. <tr>
  166. <th>Type</th>
  167. <th>Description</th>
  168. </tr>
  169. </thead>
  170. <tbody>
  171. <tr>
  172. <td><a class="xref" href="Terminal.Gui.Attribute.html">Attribute</a>?</td>
  173. <td></td>
  174. </tr>
  175. </tbody>
  176. </table>
  177. <span class="small pull-right mobile-hide">
  178. <span class="divider">|</span>
  179. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/docfx/overrides/new?filename=Terminal_Gui_Graphs_PathAnnotation_LineRune.md&amp;value=---%0Auid%3A%20Terminal.Gui.Graphs.PathAnnotation.LineRune%0Asummary%3A%20&#39;*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax&#39;%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Edit this page</a>
  180. </span>
  181. <span class="small pull-right mobile-hide">
  182. <a href="tig:tig/Terminal.Gui/blob/v2_develop/Terminal.Gui/Core/Graphs/Annotations.cs/#L234">View Source</a>
  183. </span>
  184. <a id="Terminal_Gui_Graphs_PathAnnotation_LineRune_" data-uid="Terminal.Gui.Graphs.PathAnnotation.LineRune*"></a>
  185. <h4 id="Terminal_Gui_Graphs_PathAnnotation_LineRune" data-uid="Terminal.Gui.Graphs.PathAnnotation.LineRune">LineRune</h4>
  186. <div class="markdown level1 summary">The symbol that gets drawn along the line, defaults to '.'</div>
  187. <div class="markdown level1 conceptual"></div>
  188. <h5 class="declaration">Declaration</h5>
  189. <div class="codewrapper">
  190. <pre><code class="lang-csharp hljs">public Rune LineRune { get; set; }</code></pre>
  191. </div>
  192. <h5 class="propertyValue">Property Value</h5>
  193. <table class="table table-bordered table-condensed">
  194. <thead>
  195. <tr>
  196. <th>Type</th>
  197. <th>Description</th>
  198. </tr>
  199. </thead>
  200. <tbody>
  201. <tr>
  202. <td><span class="xref">Rune</span></td>
  203. <td></td>
  204. </tr>
  205. </tbody>
  206. </table>
  207. <span class="small pull-right mobile-hide">
  208. <span class="divider">|</span>
  209. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/docfx/overrides/new?filename=Terminal_Gui_Graphs_PathAnnotation_Points.md&amp;value=---%0Auid%3A%20Terminal.Gui.Graphs.PathAnnotation.Points%0Asummary%3A%20&#39;*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax&#39;%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Edit this page</a>
  210. </span>
  211. <span class="small pull-right mobile-hide">
  212. <a href="tig:tig/Terminal.Gui/blob/v2_develop/Terminal.Gui/Core/Graphs/Annotations.cs/#L224">View Source</a>
  213. </span>
  214. <a id="Terminal_Gui_Graphs_PathAnnotation_Points_" data-uid="Terminal.Gui.Graphs.PathAnnotation.Points*"></a>
  215. <h4 id="Terminal_Gui_Graphs_PathAnnotation_Points" data-uid="Terminal.Gui.Graphs.PathAnnotation.Points">Points</h4>
  216. <div class="markdown level1 summary">Points that should be connected. Lines will be drawn between points in the order
  217. they appear in the list</div>
  218. <div class="markdown level1 conceptual"></div>
  219. <h5 class="declaration">Declaration</h5>
  220. <div class="codewrapper">
  221. <pre><code class="lang-csharp hljs">public List&lt;PointF&gt; Points { get; set; }</code></pre>
  222. </div>
  223. <h5 class="propertyValue">Property Value</h5>
  224. <table class="table table-bordered table-condensed">
  225. <thead>
  226. <tr>
  227. <th>Type</th>
  228. <th>Description</th>
  229. </tr>
  230. </thead>
  231. <tbody>
  232. <tr>
  233. <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.list-1">List</a>&lt;<a class="xref" href="Terminal.Gui.PointF.html">PointF</a>&gt;</td>
  234. <td></td>
  235. </tr>
  236. </tbody>
  237. </table>
  238. <h3 id="methods">Methods
  239. </h3>
  240. <span class="small pull-right mobile-hide">
  241. <span class="divider">|</span>
  242. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/docfx/overrides/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&#39;*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax&#39;%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Edit this page</a>
  243. </span>
  244. <span class="small pull-right mobile-hide">
  245. <a href="tig:tig/Terminal.Gui/blob/v2_develop/Terminal.Gui/Core/Graphs/Annotations.cs/#L246">View Source</a>
  246. </span>
  247. <a id="Terminal_Gui_Graphs_PathAnnotation_Render_" data-uid="Terminal.Gui.Graphs.PathAnnotation.Render*"></a>
  248. <h4 id="Terminal_Gui_Graphs_PathAnnotation_Render_Terminal_Gui_GraphView_" data-uid="Terminal.Gui.Graphs.PathAnnotation.Render(Terminal.Gui.GraphView)">Render(GraphView)</h4>
  249. <div class="markdown level1 summary">Draws lines connecting each of the <a class="xref" href="Terminal.Gui.Graphs.PathAnnotation.html#Terminal_Gui_Graphs_PathAnnotation_Points">Points</a></div>
  250. <div class="markdown level1 conceptual"></div>
  251. <h5 class="declaration">Declaration</h5>
  252. <div class="codewrapper">
  253. <pre><code class="lang-csharp hljs">public void Render(GraphView graph)</code></pre>
  254. </div>
  255. <h5 class="parameters">Parameters</h5>
  256. <table class="table table-bordered table-condensed">
  257. <thead>
  258. <tr>
  259. <th>Type</th>
  260. <th>Name</th>
  261. <th>Description</th>
  262. </tr>
  263. </thead>
  264. <tbody>
  265. <tr>
  266. <td><a class="xref" href="Terminal.Gui.GraphView.html">GraphView</a></td>
  267. <td><span class="parametername">graph</span></td>
  268. <td></td>
  269. </tr>
  270. </tbody>
  271. </table>
  272. <h3 id="implements">Implements</h3>
  273. <div>
  274. <a class="xref" href="Terminal.Gui.Graphs.IAnnotation.html">IAnnotation</a>
  275. </div>
  276. </article>
  277. </div>
  278. <div class="hidden-sm col-md-2" role="complementary">
  279. <div class="sideaffix">
  280. <div class="contribution">
  281. <ul class="nav">
  282. <li>
  283. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/docfx/overrides/new?filename=Terminal_Gui_Graphs_PathAnnotation.md&amp;value=---%0Auid%3A%20Terminal.Gui.Graphs.PathAnnotation%0Asummary%3A%20&#39;*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax&#39;%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A" class="contribution-link">Edit this page</a>
  284. </li>
  285. <li>
  286. <a href="tig:tig/Terminal.Gui/blob/v2_develop/Terminal.Gui/Core/Graphs/Annotations.cs/#L218" class="contribution-link">View Source</a>
  287. </li>
  288. </ul>
  289. </div>
  290. <nav class="bs-docs-sidebar hidden-print hidden-xs hidden-sm affix" id="affix">
  291. <h5>In this article</h5>
  292. <div></div>
  293. </nav>
  294. </div>
  295. </div>
  296. </div>
  297. </div>
  298. <footer>
  299. <div class="grad-bottom"></div>
  300. <div class="footer">
  301. <div class="container">
  302. <span class="pull-right">
  303. <a href="#top">Back to top</a>
  304. </span>
  305. <span>Generated by <strong>DocFX</strong></span>
  306. </div>
  307. </div>
  308. </footer>
  309. </div>
  310. <script type="text/javascript" src="../../styles/docfx.vendor.min.js"></script>
  311. <script type="text/javascript" src="../../styles/docfx.js"></script>
  312. <script type="text/javascript" src="../../styles/main.js"></script>
  313. </body>
  314. </html>