Class PowerLineSegment
PowerLine segment
Inheritance
object
PowerLineSegment
Namespace
Syntax
public class PowerLineSegment
Constructors
PowerLineSegment(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
| Name | Type | Description |
|---|---|---|
| segmentForeground | Color | |
| segmentBackground | Color | |
| segmentText | string | |
| segmentIcon | char | |
| segmentTransitionIcon | char |
Properties
SegmentBackground
Background color or next segment transition color of the segment
Property Value
Color
Declaration
public Color SegmentBackground { get; }
SegmentForeground
Foreground color of the segment
Property Value
Color
Declaration
public Color SegmentForeground { get; }
SegmentIcon
Segment icon. This should be an iconic character.
Property Value
char
Declaration
public char SegmentIcon { get; }
SegmentText
Segment text. Usually a status.
Property Value
string
Declaration
public string SegmentText { get; }
SegmentTransitionIcon
Segment transition icon. This should be an iconic character.
Property Value
char
Declaration
public char SegmentTransitionIcon { get; }