Skip to content
Image & Canvas textBaseline

$textBaseline — Sets or returns the text baseline of a canvas (top, hanging, middle, alphabetic, ideographic, bottom).

Sets or returns the text baseline of a canvas (top, hanging, middle, alphabetic, ideographic, bottom).

Syntax

$textBaseline[(canvas);(baseline)]

Parameters

  • canvas (String, optional) — Canvas name (empty: the current canvas)
  • baseline (String, optional) — Baseline

Return Value

  • String.

Usage

$textBaseline[canvas;baseline] → result

Example

$sendMessage[$textBaseline[canvas;baseline]]

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.