/**
 * Render Canvas element to the output/string.
 *
 * @param bool $output Output or return rendered element.
 * 
 * @access public
 */
public function render($output = true)

Examples

use function Thermage\canvas;

// ...

// Render canvas element.
canvas()->render();