开发者

Custom dash style in NSBezierPath

开发者 https://www.devze.com 2023-01-19 09:45 出处:网络
Is it possible to create a custom dash style for NSBezierPath? i.e. I want a line of say, arrows all pointing in the direction of the stroke.

Is it possible to create a custom dash style for NSBezierPath?

i.e. I want a line of say, arrows all pointing in the direction of the stroke.

For example, something like this...

->--->--->--->--->

Any i开发者_运维百科deas appreciated..

MT


Not the way you depicted it - the "dash style" is given in "line visible/line not visible" segments. You won't get a "custom brush" type of effect with NSBezierPath as it is.

0

精彩评论

暂无评论...
验证码 换一张
取 消