This article shows the example of the C# brush pen to draw custom lines. Share it for your reference. The details are as follows:
using System; using ; using ; using ; using ; using ; using ; using .Drawing2D; namespace WindowsApplication2 { public partial class Form11 : Form { public Form11() { InitializeComponent(); } private void button1_Click(object sender, EventArgs e) { Pen pen1 = new Pen(, 12); = ; = new AdjustableArrowCap(5f, 5f, true); Graphics g1 = (); (pen1, 10, 100, 100,100); } } }
I hope this article will be helpful to everyone's C# programming.