src/Rasterization/SVGRasterizer.php
public function render($rendererId, array $params, SVGNode $context)
    {
        $renderer = self::getRenderer($rendererId);
        return $renderer->render($this, $params, $context);
    }
public function render($rendererId, array $params, SVGNode $context)
    {
        $renderer = self::getRenderer($rendererId);
        return $renderer->render($this, $params, $context);
    }
public function render ( $ rendererId , array $ params , SVGNode $ context ) { $ renderer = self :: getRenderer ( $ rendererId ) ; return $ renderer -> render ( $ this , $ params , $ context ) ; }
Uses the specified renderer to draw an object, as described via the
params attribute, and by utilizing the provided node context.

The node is required for access to things like the opacity as well as
stroke/fill attributes etc.

@param string  $rendererId The id of the renderer to use.
@param mixed[] $params     An array of options to pass to the renderer.
@param SVGNode $context    The SVGNode that serves as drawing context.

@return mixed Whatever the renderer returned (in most cases void).
@throws \InvalidArgumentException If no such renderer exists.
Uses the specified renderer to draw an object as described via the params attribute and by utilizing the provided node context .