Class PowerLineTools
PowerLine tools
Inheritance
object
PowerLineTools
Namespace: Terminaux.Writer.CyclicWriters.Renderer.Tools
Assembly: Terminaux.dll
Syntax
public static class PowerLineTools
Methods
| Edit this page View SourceRenderSegments(List<PowerLineSegment>)
Renders the segments
Declaration
public static string RenderSegments(List<PowerLineSegment> segments)
Parameters
| Type | Name | Description |
|---|---|---|
| List<PowerLineSegment> | segments | List of segments to render |
Returns
| Type | Description |
|---|---|
| string |
RenderSegments(List<PowerLineSegment>, Color)
Renders the segments
Declaration
public static string RenderSegments(List<PowerLineSegment> segments, Color EndingColor)
Parameters
| Type | Name | Description |
|---|---|---|
| List<PowerLineSegment> | segments | List of segments to render |
| Color | EndingColor | Ending background color for the last segment transition |
Returns
| Type | Description |
|---|---|
| string |