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.
Type Parameters
Section titled “Type Parameters”O
Parameters
Section titled “Parameters”factory
Section titled “factory”(options) => Mask
string
Returns
Section titled “Returns”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.