I am having some trouble using createPattern in accordance with the docs - if I use:
- var pat = cont.createPattern( av_img, “repeat” );
when used as a fillStyle for a circle it works but the image is centered in the middle and wrapped (repeated) - not what I want.
- var pat = cont.createPattern( av_img, “no-repeat” );
the image doesn’t show up at all when used as a fillStyle.
I have tried Safari and Chrome and the results are the same.
I was hoping to have the image fill the circle, w/ origin at 0,0
Anyone have any better luck using images as a fillStyle w/ repetition set to ‘no-repeat’?
-Andy