0

Inkscape document:

https://sky-walker.net/temp/test/different-single-lines.svg

I am using single thick lines. If they are diagonal they basically work with filters. If they become more horizontal or vertical, they become clipped if you apply a filter. For those, the "Flood" parameters can be adjusted so that the filter is displayed properly. See:

Shape looks cut off / cropped - different problem?

But if the line is completely vertical or horizontal, when a filter is applied the view is cut off completely, even when I try to adjust the "Flood" parameters.

I have tried different filters but intially want drop shadow (inner or outer) to work.

Without filters:

Without filters

Inner drop shadow:

Drop shadow - inner

Outer drop shadow:

Drop shadow - outer

1

Adjusting the flood dimensions and co-ordinates works for me. Make sure you have the object selected first before trying to edit the flood.

However, when applying an inner drop shadow you could skip these flood adjustment steps entirely by converting the stroke to outlines first.

Select the object and do Path > Stroke to Path. Now apply the filter.

enter image description here

Note: if you are using an outer drop shadow you may still need to adjust the flood dimensions and co-ordinates if the blur is bigger than the flood.

Another possibility to get around this is to create a larger rectangle around the object with no fill and no stroke, and then group this with the object. Then apply the drop shadow.

  • Hi I edited your answer to show the most helpful part. I included the rest too even though I didn't find that useful. – Luke Wenke Nov 19 '19 at 8:52
  • BTW I can use a single large rectangle around all 4 lines, group them, then apply filters on all of them. – Luke Wenke Nov 19 '19 at 8:54
  • @LukeWenke Sure, that'll work. – Billy Kerr Nov 19 '19 at 9:07
  • I have removed the tick because I didn't find most of the answer helpful. Please add another answer that says something like "create a larger rectangle around the object with no fill and no stroke, and then group this with the object. Then apply the drop shadow." – Luke Wenke Nov 19 '19 at 9:18
  • 1
    The additional grouping is a workaround, while adjusting the filtered area is a fix. I think Billy's answer hits the mark, even though you might find another solution more useful to yourself. – Moini Nov 20 '19 at 16:38

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.