Class TextPath
Path text renderable
Inheritance
object
TextPath
Implements
Namespace: Terminaux.Writer.CyclicWriters
Assembly: Terminaux.dll
Syntax
public class TextPath : IStaticRenderable
Constructors
| Edit this page View SourceTextPath()
Makes a new instance of the path text renderer
Declaration
public TextPath()
Properties
| Edit this page View SourceBackgroundColor
Background color of the text
Declaration
public Color BackgroundColor { get; set; }
Property Value
Type | Description |
---|---|
Color |
ForegroundColor
Foreground color of the path text (usually a path color)
Declaration
public Color ForegroundColor { get; set; }
Property Value
Type | Description |
---|---|
Color |
LastPathColor
Last path color in the path text
Declaration
public Color LastPathColor { get; set; }
Property Value
Type | Description |
---|---|
Color |
Left
Left position
Declaration
public int Left { get; set; }
Property Value
Type | Description |
---|---|
int |
OneLine
Whether to print all lines or only one line
Declaration
public bool OneLine { get; set; }
Property Value
Type | Description |
---|---|
bool |
PathText
Path text to render
Declaration
public string PathText { get; set; }
Property Value
Type | Description |
---|---|
string |
Rainbow
Whether to write text with rainbow effects or not
Declaration
public bool Rainbow { get; set; }
Property Value
Type | Description |
---|---|
bool |
RainbowBg
Whether to write text with rainbow effects in the background or in the foreground
Declaration
public bool RainbowBg { get; set; }
Property Value
Type | Description |
---|---|
bool |
RootDriveColor
Root drive color in the path text
Declaration
public Color RootDriveColor { get; set; }
Property Value
Type | Description |
---|---|
Color |
SeparatorColor
Separator color in the path text
Declaration
public Color SeparatorColor { get; set; }
Property Value
Type | Description |
---|---|
Color |
Settings
Text settings to use
Declaration
public TextSettings Settings { get; set; }
Property Value
Type | Description |
---|---|
TextSettings |
Top
Top position
Declaration
public int Top { get; set; }
Property Value
Type | Description |
---|---|
int |
UseColors
Whether to use colors or not
Declaration
public bool UseColors { get; set; }
Property Value
Type | Description |
---|---|
bool |
Width
Width of the path text
Declaration
public int Width { get; set; }
Property Value
Type | Description |
---|---|
int |
Methods
| Edit this page View SourceRender()
Renders an path figlet text
Declaration
public string Render()
Returns
Type | Description |
---|---|
string | Rendered text that will be used by the renderer |