mirror of
https://github.com/nsnail/spectre.console.git
synced 2025-06-19 05:18:16 +08:00
Add documentation for TextPath
widget (#757)
This commit is contained in:
@ -40,15 +40,15 @@ public static class Program
|
||||
new TextPath(windowsPath)
|
||||
.RootColor(Color.Blue)
|
||||
.SeparatorColor(Color.Yellow)
|
||||
.StemStyle(Color.Red)
|
||||
.LeafStyle(Color.Green));
|
||||
.StemColor(Color.Red)
|
||||
.LeafColor(Color.Green));
|
||||
|
||||
table.AddRow(new Text("Unix"),
|
||||
new TextPath(unixPath)
|
||||
.RootColor(Color.Blue)
|
||||
.SeparatorColor(Color.Yellow)
|
||||
.StemStyle(Color.Red)
|
||||
.LeafStyle(Color.Green));
|
||||
.StemColor(Color.Red)
|
||||
.LeafColor(Color.Green));
|
||||
|
||||
AnsiConsole.Write(table);
|
||||
}
|
||||
|
Reference in New Issue
Block a user