Exemple #1
0
 /// <summary>
 /// Create a pen with a 'Dash' drawing patterns
 /// </summary>
 /// <param name="brush">The brush.</param>
 /// <param name="width">The width.</param>
 /// <returns>The Pen</returns>
 public static Pen Dash(IBrush <Color, uint> brush, float width)
 => new Pen(Pens <Color, uint> .Dash(brush, width));
Exemple #2
0
 /// <summary>
 /// Create a pen with a 'Dash' drawing patterns
 /// </summary>
 /// <param name="brush">The brush.</param>
 /// <param name="width">The width.</param>
 /// <returns>The Pen</returns>
 public static Pen Dash(IBrush <Rgba32> brush, float width) => new Pen(Pens <Rgba32> .Dash(brush, width));
Exemple #3
0
 /// <summary>
 /// Create a pen with a 'Dash' drawing patterns
 /// </summary>
 /// <param name="color">The color.</param>
 /// <param name="width">The width.</param>
 /// <returns>The Pen</returns>
 public static Pen Dash(Color color, float width)
 => new Pen(Pens <Color, uint> .Dash(color, width));
Exemple #4
0
 /// <summary>
 /// Create a pen with a 'Dash' drawing patterns
 /// </summary>
 /// <param name="color">The color.</param>
 /// <param name="width">The width.</param>
 /// <returns>The Pen</returns>
 public static Pen Dash(Rgba32 color, float width) => new Pen(Pens <Rgba32> .Dash(color, width));