PencilKit PKInkingTool Patternimage

I am trying to use a patternimage to define my color of the PKInkingTool for PencilKit. However, I am not getting any colors when I draw my stroke on the iPad. Is this a bug?

PencilKit PKInkingTool Patternimage
 
 
Q