Skip to content
Image & Canvas fontVariantCaps

$fontVariantCaps — Sets or returns the capitals of the text drawn next: normal, or small-caps, all-small-caps, petite-caps, all-petite-caps, unicase, titling-caps (all drawn as upper case, the fonts have no small capitals).

Sets or returns the capitals of the text drawn next: normal, or small-caps, all-small-caps, petite-caps, all-petite-caps, unicase, titling-caps (all drawn as…

Syntax

$fontVariantCaps[(canvas);(type)]

Parameters

  • canvas (String, optional) — Canvas name (empty: the current canvas)
  • type (String, optional) — Variant

Return Value

  • String.

Usage

$fontVariantCaps[canvas;type] → result

Example

$sendMessage[$fontVariantCaps[canvas;type]]

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.