Add documentation for TextPath widget (#757)

This commit is contained in:
Patrik Svensson
2022-03-01 20:56:58 +01:00
committed by GitHub
parent eb4a7d3bf4
commit fbe1d0b6f2
10 changed files with 155 additions and 7 deletions

View File

@ -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);
}