public Paint getPaint (SVGGOElement aElement)
{
// Code inspired from Batik's PaintServer.convertFillPaint
Value v = CSSUtilities.getComputedStyle (aElement, itsOpacityIndex);
float opacity = PaintServer.convertOpacity(v);
v = CSSUtilities.getComputedStyle (aElement, itsIndex);
return convertPaint(aElement, aElement.getGraphicsNode(), v, opacity, aElement.getBridgeContext());
}
But as PaintServer.convertPaint is protected I had to copy it into my class. Is there a particular reason why it is protected, or could it be made public without problem?
Guillaume
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]