画粗点划线(100分)

  • 主题发起人 主题发起人 zengtao
  • 开始时间 开始时间
Z

zengtao

Unregistered / Unconfirmed
GUEST, unregistred user!
怎样在中画粗点划线,我将线宽设为2就不能画粗点划线了请问为什么?有什么办法可以解决?
 
Canvas.pen.width := 2;
 
Canvas.Pen.Style
 
TPen.Style
....
Note:Dotted or dashed pen styles are not available when the Width property is not 1.
 
如果非要画粗点划线,只能自己做个函数了!
 
Canvas.pen.width := 1; 然后循环。
 
后退
顶部