示例#1
0
 /// <summary>
 /// Prepares the brush to draw the next word.
 /// This overload assumes the text to be drawn will be black.
 /// </summary>
 /// <param name="brush"></param>
 /// <param name="wordSize"></param>
 /// <param name="strokeWidth"></param>
 internal static void Prepare(this SKPaint brush, float wordSize, float strokeWidth)
 => brush.Prepare(wordSize, strokeWidth, SKColors.Black);