wpf虚线画刷
2021-06-29 01:02
阅读:541
标签:code color end pre col ash 虚线 pen orb wpf虚线画刷 标签:code color end pre col ash 虚线 pen orb 原文地址:https://www.cnblogs.com/ives/p/14932113.html //虚线
DoubleCollection dc = new DoubleCollection();
dc.Add(2);
DashStyle dashstyle = new DashStyle();
dashstyle.Dashes = dc;
Pen renderPen = new Pen(new SolidColorBrush(Colors.Navy), 1.5);
renderPen.DashStyle = dashstyle;
renderPen.DashCap = PenLineCap.Round;
上一篇:web前端面试题目整理
下一篇:webapi跨域设置
评论
亲,登录后才可以留言!