qgis / QGIS

QGIS is a free, open source, cross platform (lin/win/mac) geographical information system (GIS)
https://qgis.org
GNU General Public License v2.0
10.54k stars 2.99k forks source link

Make masking work on background shapes #45558

Open antoniolocandro opened 3 years ago

antoniolocandro commented 3 years ago

Feature description

Would be nice if masking also could be enabled for the label background itself, I currently use a white buffer but looks awful. You can notice that the masking on the lines work nicely

image

Additional context

No response

antoniolocandro commented 3 years ago

Would like to mask that rectangle with the frame of the text part to avoid using a halo image

reference text box highlight when using move tool makes me think that box could be used to mask the background rectangle I created image

Use case: The name is not a constant width so the background enables to use a buffer around it, the masking would allow to eliminate the awful buffer required to get the frame erase part erase.

I suppose this would require exposing the geometry of the text box area somehow