How to use the roughjs/bin/fillers/filler-utils.hachureLinesForPolygon function in roughjs

To help you get started, we’ve selected a few roughjs examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github wiredjs / wired-elements / packages / wired-lib / src / wired-lib.ts View on Github external
export function hachureFill(points: Point[]): SVGElement {
  const lines = hachureLinesForPolygon(points, options);
  return renderHachureLines(lines);
}