OptionalpathOptionallineThe lineWidth with which to stroke the path (if omitted, the path will be filled instead)
OptionalcolorThe color to use for stroking/filling the path
OptionalangleThe orientation of the pattern grid in radians
OptionaloffsetThe 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)