function patternShader(source, fragment): string;
Experimental
source (a rect, arc or fill shader) with the pattern code in at its hooks.
source
string
fragment
boolean