Dim p As New Pen(Color.Red)
p.StartCap = System.Drawing.Drawing2D.LineCap.ArrowAnchor
p.EndCap = System.Drawing.Drawing2D.LineCap.Flat
p.Width = 2
Me.CreateGraphics.DrawLine(p, 200, 200, 400, 400)
Those caps are pretty small, but there is a CustomLineCap class that I
believe lets you define your own caps using a Path. I've never used the
Custom option myself, sorry.
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.