public function render(SVGRasterizer $rasterizer, array $options, SVGNode $context)
    {
        $params = $this->prepareRenderParams($rasterizer, $options);

        $paintOrder = $this->getPaintOrder($context);
        foreach ($paintOrder as $paint) {
            if ($paint === 'fill') {
                $this->paintFill($rasterizer, $context, $params);
            } elseif ($paint === 'stroke') {
                $this->paintStroke($rasterizer, $context, $params);
            }
        }
    }