>>>>> "TW" == Todd Wilson <[EMAIL PROTECTED]> writes:
TW> Transparency within an SVG seems to work just fine, meaning shapes
TW> overlaying each other where "fill:none" can be designated in order
TW> to allow some shapes visible through other shapes. However, we're
TW> hoping to accomplish basically what a transparent GIF
TW> allows--portions of an image are transparent and allow whatever
TW> the SVG is rendred on top of to show through the image. So, for
TW> example, I could render an SVG on top of a JFrame or JPanel that
TW> has a blue background, and portions of that blue background would
TW> be visible through the SVG because portions of the SVG are
TW> transparent.
You need to set the background of the JSVGCanvas to something
other than white. I suggest transparent black:
// Make sure that the canvas isn't opaque.
+ svgCanvas.setBackground(new Color(0,0,0,0));
svgCanvas.setOpaque( false );
System.out.println( "isOpaque: " + svgCanvas.isOpaque() );
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]