Skip to content
Image & Canvas fill

$fill — Fills the current path (each subpath on its own; holes are not handled).

Fills the current path (each subpath on its own; holes are not handled).

Syntax

$fill[(canvas);style;(fillRule)]

Parameters

  • canvas (String, optional) — Canvas name (empty: the current canvas)
  • style (String, required) — Color
  • fillRule (String, optional) — nonzero or evenodd

Return Value

  • None.

Usage

$fill[canvas;style;fillRule] → result

Example

$sendMessage[$fill[canvas;style;fillRule]]

Try it

Paste an example into the playground to preview its message (functions that act on Discord are not run), or build the same thing with blocks.