Class TextPath
Path text renderable
Inheritance
Namespace
Syntax
public class TextPath : SimpleCyclicWriter
Constructors
TextPath()
Makes a new instance of the path text renderer
Declaration
public TextPath()
Properties
Alignment
Alignment of the path text
ForegroundColor
Foreground color of the path text (usually a path color)
Property Value
Color
Declaration
public Color ForegroundColor { get; set; }
LastPathColor
Last path color in the path text
Property Value
Color
Declaration
public Color LastPathColor { get; set; }
PathText
Path text to render
Property Value
string
Declaration
public string PathText { get; set; }
RootDriveColor
Root drive color in the path text
Property Value
Color
Declaration
public Color RootDriveColor { get; set; }
SeparatorColor
Separator color in the path text
Property Value
Color
Declaration
public Color SeparatorColor { get; set; }
UseColors
Whether to use colors or not
Property Value
bool
Declaration
public bool UseColors { get; set; }
Width
Width of the text path (0 to disable alignment)
Property Value
int
Declaration
public int Width { get; set; }
Methods
Render()
Renders a path text
Returns
string
Rendered text that will be used by the renderer
Declaration
public override string Render()