MCPcopy Create free account
hub / github.com/melonjs/melonJS / setMask.spec.js

File setMask.spec.js

packages/melonjs/tests/setMask.spec.js:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import { afterAll, beforeAll, describe, expect, it } from "vitest";
2import { boot, Color, Ellipse, Rect, video } from "../src/index.js";
3
4describe("CanvasRenderer.setMask — invert mode", () => {

Callers

nothing calls this directly

Calls 8

bootFunction · 0.90
paintWithMasksFunction · 0.85
alphaAtFunction · 0.85
getCanvasMethod · 0.80
initMethod · 0.65
getContextMethod · 0.45
setTransformMethod · 0.45
clearRectMethod · 0.45

Tested by

no test coverage detected