Skip to content
Image & Canvas imageSmoothing

$imageSmoothing — Sets or returns whether scaled images are smoothed (true) or drawn pixel by pixel (false).

Sets or returns whether scaled images are smoothed (true) or drawn pixel by pixel (false).

Syntax

$imageSmoothing[(canvas);(enabled)]

Parameters

  • canvas (String, optional) — Canvas name (empty: the current canvas)
  • enabled (Boolean, optional) — true or false

Return Value

  • Boolean.

Usage

$imageSmoothing[canvas;enabled] → result

Example

$sendMessage[$imageSmoothing[canvas;enabled]]

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.