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

Function stroke

pattern/canvas.js:677–684  ·  view source on GitHub ↗
(r, g, b, a)

Source from the content-addressed store, hash-verified

675 return _ctx.state.fill;
676}
677function stroke(r, g, b, a) {
678 /* Sets the current stroke color.
679 */
680 if (r !== undefined) {
681 _ctx.state.stroke = (r instanceof Color)? r.copy() : new Color(r, g, b, a);
682 }
683 return _ctx.state.stroke;
684}
685
686function nofill() {
687 /* No current fill color.

Callers

nothing calls this directly

Calls 1

copyMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…