Image & Canvas
arc
$arc — Adds a circular arc to the current path (angles in radians).
Adds a circular arc to the current path (angles in radians).
Syntax
$arc[(canvas);x;y;radius;startAngle;endAngle;(counterclockwise)]
Parameters
- canvas (String, optional) — Canvas name (empty: the current canvas)
- x (Number, required) — Center X
- y (Number, required) — Center Y
- radius (Number, required) — Radius
- startAngle (Number, required) — Start angle
- endAngle (Number, required) — End angle
- counterclockwise (Boolean, optional) — true to go counterclockwise
Return Value
- None.
Usage
$arc[canvas;x;y;radius;startAngle;endAngle;counterclockwise] → result
Example
$sendMessage[$arc[canvas;x;y;radius;startAngle;endAngle;counterclockwise]]
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.