Re: Make Transparent SVG Transparent in JSVGCanvas

jonathan wood <[email protected]>
Newsgroups gmane.text.xml.batik.user
Message-ID <CAKiJDQQKe-17C=zTKDNb1Avm9wi2_J-F3wN0A4jSnYyUs2c99g@mail.gmail.com>
You might find this older post about component transparencies
helpful...includes a great example from Cameron.  I'd suggest reading the
entire thread as it contains many insights

http://batik.2283329.n4.nabble.com/JSVGCanvas-setOpaque-method-not-working-td2976247.html

Hope that helps!

On Tue, Aug 30, 2011 at 8:48 AM, dieend <[email protected]> wrote:

>  have SVG file that actually empty, that have no element, yet. I will
> manipulate it in the java code by adding element. The SVG file will be
> inserted in a scrollpane. The problem is even the SVG file actually empty,
> the Scrollpane not transparent even if I have already set it transparent.
>
> Here is the SVG file (I got it from client):
>
>
>
> and here is the scroll pane part (canvasDiagram is the SVGCanvas).
>
>
>
> The scrollpane is not transparent but white. I tried to insert the scroll
> pane content with transparent jPanel and its work so I believe the white
> content because of the canvasDiagram. Can you help me to make the empty
> part
> of canvasDiagram really transparent?
>
> --
> View this message in context:
> http://batik.2283329.n4.nabble.com/Make-Transparent-SVG-Transparent-in-JSVGCanvas-tp3778622p3778622.html
> Sent from the Batik - Users mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.