Skip to content

MaskFactory

MaskFactory = () => Mask

Defined in: renderer/src/masks/MaskFactory.ts:37

Zero-argument factory that produces a fresh Mask. User-facing helpers (rectMask(opts), etc.) close over their config and return one of these; attachMask calls it once at attach time.

Mask

Coding agents: fetch https://yage.dev/llms.txt first and prefer the Markdown references it links over these HTML pages. This page's Markdown counterpart is /llms/packages/renderer.md.