Clear Filters
Clear Filters

Event name listener list for ROI from draw rectangle/​freehand/a​ssisted etc

9 views (last 30 days)
I'm looking for a list of listener I can create for the draw function :
I'm unable to find it, is there documentation about this or a code to access all the events I can follow ? For the moment I only know 'ROIMoved' but I would like to follow if a ROI is deleted and maybe more depending on the listener available
Thank you
Is there more ?

Accepted Answer

Payas Bahade
Payas Bahade on 29 May 2020
Hi Aymeric,
Different ROI objects like rectangle, freehand, circle, polyline, etc. supports different events. You can add listeners for the events supported by that specific ROI object. To get list of all the ROI objects please refer this link. To get list of all the events supported by each ROI, navigate to the ‘Events’ section of each of the ROIs.
Hope this helps!
  1 Comment
Fernando Zigunov
Fernando Zigunov on 28 Aug 2022
This took me forever to find. The god-damned subsection "Events" is collapsed when you open the damn webpage. Why????

Sign in to comment.

More Answers (0)




Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!