Can we change handle and trail colors for paint widget?

I did take look at the docs and examples, but I can’t find anything about it. The circle is always blue and trails are green, also when I set to active label to 0, handle is not visible.

Is there anyway to make the paint widget’s handle visible while label is zero? And can we change the colors of the handle?

Thanks a lot!

Blue color corresponds to activeColor: 1 in WidgetRepresentation (1 is blue in default LUT).
Green color corresponds to color: 0.5 in colorMixin.js (0.5 is green in default LUT).

I’m not sure to understand the rest of your questions.


Thank you, I was trying to use paintwidget to erase but the handle was not visible, I fixed it by creating an other paintwidget.