コード例 #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));
コード例 #2
0
ファイル: Pens.cs プロジェクト: jimmymain/ImageSharp
 /// <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));
コード例 #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));
コード例 #4
0
ファイル: Pens.cs プロジェクト: jimmymain/ImageSharp
 /// <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));