Hello,
I’m working with the Orthanc Stone Web Viewer and I’m trying to customize the color of the annotation tools, such as Measure Length, Angle, Circle, etc.
By default, the annotations (lines, text, shapes) are drawn in green or light blue. I would like to change these to a different color to better match our UI theme or preferences.
My questions are:
- What is the recommended way to change the color of annotations drawn by the tools?
- Is there an API or configuration to customize these colors dynamically?
- Or is it necessary to edit the C++ code (like
StoneWebViewer.cpp
) and recompile the WebAssembly version usingninja install
?
Any guidance or best practices would be greatly appreciated.
Thanks in advance!