开发者

Draw continuous CGPath with parts of different line width

开发者 https://www.devze.com 2023-03-16 14:07 出处:网络
I need to draw a continuous path, but e.g. one line of the path needs to be thicker than the regular path width. Is there a way to acc开发者_开发技巧omplish this with the default API or do I have to c

I need to draw a continuous path, but e.g. one line of the path needs to be thicker than the regular path width. Is there a way to acc开发者_开发技巧omplish this with the default API or do I have to calculate the path joints myself?


You have to break up the path yourself. A single path can only be drawn with a single graphics state.

0

精彩评论

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