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