Hi there,
As illustrated in the documentation is straightforward to give different ROIs different colors in quickflat mode, as shown below

However, I am unable to replicate this behavior in webGL mode. No matter the color of the path in the svg, it always appears white in the webGL viewer.
Interestingly, adding a colored rectangle (but not path) in the cutouts folder appears to respect the path color (shown in black).

After having read through what I think are the relevant parts of code. I am scratching my head as to why colors are respected in webGL mode for rectangles but not for paths/rois. Could anyone shed any light on how different roi colors could be achieved in webGL mode?
Hi there,
As illustrated in the documentation is straightforward to give different ROIs different colors in quickflat mode, as shown below
However, I am unable to replicate this behavior in webGL mode. No matter the color of the path in the svg, it always appears white in the webGL viewer.
Interestingly, adding a colored rectangle (but not path) in the cutouts folder appears to respect the path color (shown in black).
After having read through what I think are the relevant parts of code. I am scratching my head as to why colors are respected in webGL mode for rectangles but not for paths/rois. Could anyone shed any light on how different roi colors could be achieved in webGL mode?