Class PowerLineSegment
PowerLine segment
Inheritance
object
PowerLineSegment
Namespace: Terminaux.Writer.CyclicWriters.Renderer.Tools
Assembly: Terminaux.dll
Syntax
public class PowerLineSegment
Constructors
| Edit this page View SourcePowerLineSegment(Color, Color, string, char, char)
Installs the segment values to the instance
Declaration
public PowerLineSegment(Color segmentForeground, Color segmentBackground, string segmentText, char segmentIcon = '\0', char segmentTransitionIcon = '\0')
Parameters
| Type | Name | Description |
|---|---|---|
| Color | segmentForeground | |
| Color | segmentBackground | |
| string | segmentText | |
| char | segmentIcon | |
| char | segmentTransitionIcon |
Properties
| Edit this page View SourceSegmentBackground
Background color or next segment transition color of the segment
Declaration
public Color SegmentBackground { get; }
Property Value
| Type | Description |
|---|---|
| Color |
SegmentForeground
Foreground color of the segment
Declaration
public Color SegmentForeground { get; }
Property Value
| Type | Description |
|---|---|
| Color |
SegmentIcon
Segment icon. This should be an iconic character.
Declaration
public char SegmentIcon { get; }
Property Value
| Type | Description |
|---|---|
| char |
SegmentText
Segment text. Usually a status.
Declaration
public string SegmentText { get; }
Property Value
| Type | Description |
|---|---|
| string |
SegmentTransitionIcon
Segment transition icon. This should be an iconic character.
Declaration
public char SegmentTransitionIcon { get; }
Property Value
| Type | Description |
|---|---|
| char |