摘要:
先看效果图 下面是代码 protected override void OnPaint(PaintEventArgs e) { e.Graphics.SetGDIHigh(); var rect = new Rectangle(0, 0, this.Width, this.Height); // 创 阅读全文
摘要:
主要是路径的计算 先得到路径 if (value.Width > 0 && value.Height > 0) { GraphicsPath.AddBezier(new PointF(RectangleF.Left + RectangleF.Width * 0.1f, RectangleF.Top 阅读全文