GraphicsNode node,
BridgeContext ctx,
CSSStyleDeclaration decl,
UnitProcessor.Context uctx) {
GVTFactory f = ctx.getGVTFactory();
FillShapePainter painter = null;
Paint fillPaint = convertFillToPaint(svgElement,
node,
ctx,
decl,
uctx);
if(fillPaint != null){
painter = f.createFillShapePainter();
painter.setPaint(fillPaint);
}
return painter;
}