Layers issue

Post questions on how to use or achieve an effect in Inkscape.
cvh2013
Posts: 11
Joined: Mon Mar 18, 2013 9:41 pm

Layers issue

Postby cvh2013 » Thu Nov 14, 2013 1:38 am

Hello all. I've successfully used layers in the past but this time I've hit an obstacle I can't seem to overcome. I have two layers in my .svg file. Layer 0 is a light grey surround to the objects in layer 1. Layer 0 is below layer 1 so to my mind, the fill of the layer 1 objects should be viewable, not the layer 0 fill. However, I seem unable to stop the layer 0 fill from being applied also to the layer 1 objects.

Attached:

1. Screenshot of what I'm trying to achieve
2. The .svg file

Thank you.
Attachments
screenshot.png
Screenshot
screenshot.png (26.57 KiB) Viewed 1156 times
example.svg
SVG file
(4.31 KiB) Downloaded 158 times

v1nce
Posts: 696
Joined: Wed Jan 13, 2010 4:36 am

Re: Layers issue

Postby v1nce » Thu Nov 14, 2013 2:42 am

Your rounded rectangle has a fill opacity of 1 but a global opacity of 0.3. So i guess this is why we could see through it.
Did you edit the xml by hand ?

cvh2013
Posts: 11
Joined: Mon Mar 18, 2013 9:41 pm

Re: Layers issue

Postby cvh2013 » Thu Nov 14, 2013 2:46 am

Thank you for your reply.

No I didn't edit the XML. I guess I need to change the global opacity? How do I do that?

v1nce
Posts: 696
Joined: Wed Jan 13, 2010 4:36 am

Re: Layers issue

Postby v1nce » Thu Nov 14, 2013 4:21 am

Click your rounded rectangle
Launch the fill & stroke dialog (shit ctrl F).
At the bottom ther's an opacity settings, set it to 100%

cvh2013
Posts: 11
Joined: Mon Mar 18, 2013 9:41 pm

Re: Layers issue

Postby cvh2013 » Thu Nov 14, 2013 7:04 pm

Thanks very much, I got it working with your help, v1nce.


Return to “Help with using Inkscape”