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

Function darken

pattern/canvas.js:3304–3306  ·  view source on GitHub ↗
(img1, img2, dx, dy, alpha)

Source from the content-addressed store, hash-verified

3302 return blend(LIGHTEN, img1, img2, dx, dy, alpha);
3303}
3304function darken(img1, img2, dx, dy, alpha) {
3305 return blend(DARKEN, img1, img2, dx, dy, alpha);
3306}
3307function multiply(img1, img2, dx, dy, alpha) {
3308 return blend(MULTIPLY, img1, img2, dx, dy, alpha);
3309}

Callers

nothing calls this directly

Calls 1

blendFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…