在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
Brush brush = new SolidBrush(Color.White); Pen pen = new Pen(brush, 1); //pen.DashStyle = DashStyle.Solid;//using System.Drawing.Drawing2D; pen.DashPattern = new float[]{2,10}; pen.DashStyle = DashStyle.Custom; g.DrawLine(pen,new Point(x1,y1),new Point(x2,y2)); g.Dispose(); |
请发表评论