Skip to content

defineMask

defineMask<O>(spec): MaskDefinition<O>

Defined in: renderer/src/masks/defineMask.ts:16

Define a named mask preset. The returned callable accepts the preset’s options and yields a MaskFactory.

O

(options) => Mask

string

MaskDefinition<O>

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.