mirror of
https://github.com/ShareX/ShareX.git
synced 2024-07-07 07:26:05 +12:00
Use round caps for freehand pen
This commit is contained in:
parent
ff629719ea
commit
51d72b6a4e
|
@ -108,7 +108,7 @@ public override void OnDraw(Graphics g)
|
|||
{
|
||||
g.SmoothingMode = SmoothingMode.HighQuality;
|
||||
|
||||
using (Pen pen = new Pen(BorderColor, BorderSize))
|
||||
using (Pen pen = new Pen(BorderColor, BorderSize) { StartCap = LineCap.Round, EndCap = LineCap.Round })
|
||||
using (GraphicsPath gp = new GraphicsPath())
|
||||
{
|
||||
for (int i = 0; i < points.Count - 1; i++)
|
||||
|
|
Loading…
Reference in a new issue