Skip to content
Image & Canvas imageSmooth

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

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

Syntax

$imageSmooth[(canvas);(enabled)]

Parameters

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

Return Value

  • Boolean.

Usage

$imageSmooth[canvas;enabled] → result

Example

$sendMessage[$imageSmooth[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.