Transparent Layer Object?

Flesh out your ideas for new or improved Inkscape features before submitting a request.
User avatar
Kjohrf
Posts: 170
Joined: Tue Oct 27, 2009 11:42 am
Location: US
Contact:

Transparent Layer Object?

Postby Kjohrf » Thu Aug 05, 2010 8:00 am

This something that would be useful in a variety of contexts for me...

I want to define a shape, and have that object make that part of its layer transparent.
Essentially, I want it, for its position in the Z-order, to override what is below it
in the layer. So it's sort of a 100% opaque, transparent object.

Perhaps an example will help explain what this means. Let's say I have straight line
segment path with a bunch of pointed corners. I want to cut off the corners just so.
If the background color of the drawing were white, I could just make some white
rectangles, and put them here and there cutting off the corners. The path would
appear to have angled corners instead of pointed corners. But what if the background
is an image? Then I need to cut the path. I'd rather not do stroke-to-path as I lose
the ability to move the path around (yes, I'd have to move the rectangles, but still
easier). Wherever one of these rectangles was, the layer would be transparent,
unless something higher in the Z-order overrode that.

Another example use would be modified typography on a background. Say I want
to "antique" the text (cutting out bits here and there). Fine, again, on a white
background, but not fine with any image or textured background.

User avatar
tomh
Posts: 218
Joined: Sat Feb 14, 2009 10:14 pm

Re: Transparent Layer Object?

Postby tomh » Thu Aug 05, 2010 8:48 am

Although not quite as easy to use as what you want with the "transparent object" things, have a look at clipping paths/masks or 1.

User avatar
Kjohrf
Posts: 170
Joined: Tue Oct 27, 2009 11:42 am
Location: US
Contact:

Re: Transparent Layer Object?

Postby Kjohrf » Thu Aug 05, 2010 9:19 am

Thanks. Know about clipping path. Didn't think of using it in this case. Not a bad workaround, though still hoping for someday ... :)

User avatar
druban
Posts: 1917
Joined: Fri Nov 20, 2009 10:48 pm

Re: Transparent Layer Object?

Postby druban » Thu Aug 05, 2010 11:21 am

As i understand it a layer in Inkscape is really a group (although the layer blending modes add some considerable additional functionality) You can group and clip the group or select all in a layer and use the topmost or bottommost object to clip.

I want to define a shape, and have that object make that part of its layer transparent.

This would definitely be the mask function. It's a little more complicated than clip, but has all the functionality that you are asking for... you would need to make another shape that is larger than all the objects you want to mask , fill it with white, fill or stroke your masking object with black, move it above all objects involved, group it with the large white filled object, select all, set mask and it should be what you want...
Last edited by druban on Sun Mar 31, 2013 6:04 am, edited 2 times in total.
Your mind is what you think it is.

User avatar
Kjohrf
Posts: 170
Joined: Tue Oct 27, 2009 11:42 am
Location: US
Contact:

Re: Transparent Layer Object?

Postby Kjohrf » Thu Aug 05, 2010 1:52 pm

Thanks, druban! Might take me a bit of experimenting to see if that is what I'm looking for.


Return to “Inkscape Ideas”