I need to get the fillcolor from a legendItem, howerver doing
lItem.getStyle("fill")
returns a different color than the actual legendItem marker color. Any pointers on what am I doing wrong here?
I need to get the fillcolor from a legendItem, howerver doing
lItem.getStyle("fill")
returns a different color than the actual legendItem marker color. Any pointers on what am I doing wrong here?
This should return to you the color of the fill. The variable type you get back from lItem.getStyle("fill")
is SolidColor.