4

Is it possible to create a polygon outline as a dashed line with an inner gradient (see image #1)? Currently I have a hack job that sort of works (shapeburst fill with a dashed line above in the background color image #2), but it gets very ugly when there are other features in between the outline and the background fill (see image #3) image #1


enter image description here

image #2


enter image description here

image #3

7

If you use pure white over your shapefill then you can use "Multiply" to blend the layers which makes the white parts transparent. Adjusting widths gets me this:

enter image description here

Here's the style properties for the two layers - the Simple Fill is just a thick dotted white line, and the shapefill is a gradient infill:

enter image description here

enter image description here

Important thing is that "Multiply" at the bottom. In "Normal" mode it looks like this:

enter image description here

and you can see where the white dotted line cuts out the shapeburst. It goes a bit how-ya-doing at corners in places, but that might be fixable. You could also use a white symbol marker round the perimeter to cut the shapeburst.

2
  • Thank you for your clear answer. Great trick! Jan 14 at 15:38
  • It goes a bit wacky Picasso when I zoom out, but I think that's to do with the units I've used. Some adjustment needed for map perfection...
    – Spacedman
    Jan 14 at 16:29

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.