cornerstonejs / cornerstoneTools

A framework for tools built on top of Cornerstone.
https://tools.cornerstonejs.org/
MIT License
574 stars 456 forks source link

Is it possible to change the tool properties, i.e unit, color, visible...etc >> (the tool object's properties) #1527

Closed Suuyshi closed 1 year ago

Suuyshi commented 1 year ago

Prerequisites

Description

Expected behavior: (What you expected to happen) being able to change each tool object's properties with a provided function from cornerstone tools as in if i would like to change the unit or visibility state of said tool for example i thought setToolOptions does that for example but i can't seem to figure it out?

Actual behavior: (What actually happened) i can't change the tool object's properties/keys with a straight forward efficient way