// resolve stroke
ShapePainter strokePainter = convertStroke(svgElement, node, ctx,
decl, uctx);
ShapePainter painter = null;
if (fillPainter != null && strokePainter != null) {
CompositeShapePainter comp = f.createCompositeShapePainter();
comp.addShapePainter(fillPainter);
comp.addShapePainter(strokePainter);
painter = comp;
} else if (fillPainter != null) {
painter = fillPainter;
} else if (strokePainter != null) {
painter = strokePainter;