user187676
user187676

Reputation:

Draw continuous CGPath with parts of different line width

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 accomplish this with the default API or do I have to calculate the path joints myself?

Upvotes: 1

Views: 557

Answers (1)

Peter Hosey
Peter Hosey

Reputation: 96333

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

Upvotes: 1

Related Questions