How could I set
LinePlacementFlags with Python in QGIS?
My code is something like:
palyr = QgsPalLayerSettings() palyr.readFromLayer(layer) palyr.enabled = True palyr.fieldName = "attribute"
Then I've tried:
And my labels are on the line. I want them above the line, but I can't figure how to do this. I found there is LinePlacementFlags type. But