[prev in list] [next in list] [prev in thread] [next in thread]
List: qgis-user
Subject: [Qgis-user] Use size of label background rectangle in python function
From: <Fuenfer-Koenigstein.Benjamin2 () swm ! de>
Date: 2017-08-28 7:01:48
Message-ID: E93ED525835D87449CADD8CE48D5C2671EE505 () SVEXMB04 ! intra ! swm ! de
[Download RAW message or body]
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
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic