In QGIS Expression builder. I want to obtain the color code of the current feature.
I mean:
My layer contains lines, each one is painted with a different color. Now I want to assign that color to its label. In label definition, in the color property's expressions builder, how could I obtain that attribute?
I tried:
attribute( $currentfeature, 'color')
But it is not working...
أكثر...
I mean:
My layer contains lines, each one is painted with a different color. Now I want to assign that color to its label. In label definition, in the color property's expressions builder, how could I obtain that attribute?
I tried:
attribute( $currentfeature, 'color')
But it is not working...
أكثر...