Skip to content
Image & Canvas quadraticCurveTo

$quadraticCurveTo — Adds a quadratic Bézier curve to the current path.

Adds a quadratic Bézier curve to the current path.

Syntax

$quadraticCurveTo[(canvas);cx;cy;x;y]

Parameters

  • canvas (String, optional) — Canvas name (empty: the current canvas)
  • cx (Number, required) — Control X
  • cy (Number, required) — Control Y
  • x (Number, required) — End X
  • y (Number, required) — End Y

Return Value

  • None.

Usage

$quadraticCurveTo[canvas;cx;cy;x;y] → result

Example

$sendMessage[$quadraticCurveTo[canvas;cx;cy;x;y]]

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.