Skip to content
Image & Canvas shadowConfig

$shadowConfig — Sets or returns the shadow of what is drawn next (color, blur 0 to 100, offsetX, offsetY); pass a JSON object to set, a JSON list of names to read; all zero removes it. (alias of $shadowOptions)

Sets or returns the shadow of what is drawn next (color, blur 0 to 100, offsetX, offsetY); pass a JSON object to set, a JSON list of names to read; all zero…

Syntax

$shadowConfig[(canvas);options]

Parameters

  • canvas (String, optional) — Canvas name (empty: the current canvas)
  • options (Json, required) — {“color”:”#000000”,”blur”:5,”offsetX”:3,”offsetY”:3}

Return Value

  • String.

Usage

$shadowConfig[canvas;options] → result

Example

$sendMessage[$shadowConfig[canvas;options]]

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.