Optional
pathOptional
lineThe lineWidth with which to stroke the path (if omitted, the path will be filled instead)
Optional
colorThe color to use for stroking/filling the path
Optional
angleThe orientation of the pattern grid in radians
Optional
offsetThe amount by which to shift the pattern relative to the canvas origin
The 2D shape to be drawn in a repeating grid with the specified spacing (if omitted, parallel lines will be used)