emigre / openseadragon-annotations

Draw annotations over deep zoom images
BSD 3-Clause "New" or "Revised" License
97 stars 40 forks source link

The canvas is activated to do what work #10

Closed gywgithub closed 6 years ago

gywgithub commented 7 years ago

Thank you very much for the nice plugin, I want to know in the plug-in, the lower left corner of the button to activate brush when invoked the openseadragon which methods, because the mouse to click the default of openseadragon will enlarge the picture, I think the custom button to click on the button to activate the canvas brush effect, how to do?

ays0110 commented 7 years ago

Seconding this request-- the little button in the bottom left is not really that visible. Allowing some way to hook into the "Draw state activated" function would allow people to build their own "Start Drawing" buttons.

ays0110 commented 7 years ago

Made a PR to add these two functions in.

emigre commented 7 years ago

@gywgithub I don't really know what do you mean? Could you elaborate? Is this about allowing the user to change the mode to "draw" programatically?