Sets the pattern used for stroking object outlines.