OptionalangleThe orientation of the pattern grid in radians
OptionalcapThe lineCap style to use if stroking the path
OptionalcolorThe color to use for stroking/filling the path
OptionallineThe lineWidth with which to stroke the path (if omitted, the path will be filled instead)
OptionaloffsetThe amount by which to shift the pattern relative to the canvas origin
OptionaloutlineWhether to render the texture as a single path (rather than as a repeating pattern within a clipping mask)
OptionalpathThe 2D shape to be drawn in a repeating grid with the specified spacing (if omitted, parallel lines will be used)
🧪 Not in the HTML Canvas standard.