Graphics g
= e.Graphics;
g.SmoothingMode
= SmoothingMode.AntiAlias;
g.FillRectangle(Brushes.White,
this.ClientRectangle);
Pen p
=
new Pen(Color.Black,
10);
p.StartCap
= LineCap.Round;
p.EndCap
= LineCap.ArrowAnchor;
g.DrawLine(p,
30,
30,
80,
30);
p.Dispose();
C#开发教程--如何绘制箭头
2022-03-08 01:37:47