Hi all,


in QGIS, there is the possibility to draw a rectangle around a label text with 
"Labels -> Background -> Shape: Rectangle; Size type: buffer". This way, the 
rectangle fits to text extend.



Does onyone know a way to use the size or the corner coordinates of this buffer 
rectangle in a python function? Would be very helpful to create leader lines 
from the object to the nearest corner of the rectangle.



Best regards



Benjamin

_______________________________________________
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user

Reply via email to