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