Skip to content
Image & Canvas stroke

$stroke — Strokes the current path with the line width, dash and transform of the canvas.

Strokes the current path with the line width, dash and transform of the canvas.

Syntax

$stroke[(canvas);style]

Parameters

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

Return Value

  • None.

Usage

$stroke[canvas;style] → result

Example

$sendMessage[$stroke[canvas;style]]

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.