MCPcopy Index your code
hub / github.com/clips/pattern / drawpath

Function drawpath

pattern/canvas.js:1739–1747  ·  view source on GitHub ↗
(path, options)

Source from the content-addressed store, hash-verified

1737});
1738
1739function drawpath(path, options) {
1740 /* Draws the given Path (or list of PathElements).
1741 * The current stroke, strokewidth, strokestyle and fill color are applied.
1742 */
1743 if (path instanceof Array) {
1744 path = new Path(path);
1745 }
1746 path.draw(options);
1747}
1748
1749function autoclosepath(close) {
1750 /* Paths constructed with beginpath() and endpath() are automatically closed.

Callers 1

beginclipFunction · 0.85

Calls 1

drawMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…