Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to make pencil stroke for iPhone app?

I would like to make a pencil stroke in an iPhone application, which can draw lines such as you can see in this picture:

enter image description here

Can anybody show me how I could implement these types of stroke?

like image 374
Mashhadi Avatar asked Jan 31 '12 07:01

Mashhadi


1 Answers

There are no built-in functions for drawing this kind of stroke. You will have to come up with your own texture image and draw it repeatedly along the path. There are no built-in functions for getting points along a path either.

like image 153
rob mayoff Avatar answered Oct 11 '22 17:10

rob mayoff