Package in JavaScript for creating canvas patterns
Description
This npm package in JavaScript provides tools for creating patterns on Canvas elements using various patterns. Included in the set of available patterns are:
- - BackwardDiagonalTemplate: pattern with backward diagonal.
- - CrossTemplate: cross-shaped pattern.
- - DiagonalCrossTemplate: pattern with diagonal cross.
- - DivotTemplate: pattern with indentation.
- - ForwardDiagonalTemplate: pattern with forward diagonal.
- - ObliqueLineTemplate: pattern with oblique line.
- - TrellisTemplate: pattern with trellis.
The configuration determines the size, direction, and color of the pattern.