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

@ -84,7 +84,7 @@ public static class TextPathExtensions
/// <param name="obj">The path.</param>
/// <param name="color">The stem color.</param>
/// <returns>The same instance so that multiple calls can be chained.</returns>
public static TextPath StemStyle(this TextPath obj, Color color)
public static TextPath StemColor(this TextPath obj, Color color)
{
return StemStyle(obj, new Style(foreground: color));
}
@ -112,7 +112,7 @@ public static class TextPathExtensions
/// <param name="obj">The path.</param>
/// <param name="color">The leaf color.</param>
/// <returns>The same instance so that multiple calls can be chained.</returns>
public static TextPath LeafStyle(this TextPath obj, Color color)
public static TextPath LeafColor(this TextPath obj, Color color)
{
return LeafStyle(obj, new Style(foreground: color));
}