imfreehand lacks setPosition method?

Dear all I'm developing an application where I have ROIs defined by imfreehand. One tool that I need is to globally shift all ROIs (say by [dX dY]). For impoly, I can use: h.setPosition(h.getPosition + repmat([dX dY],[size(h.getPosition,1) 1])) But for imfreehand, for some weird reason, there is no setPosition method. It is all the more weird because a 'setPositionConstraintFcn' method does exist. Anyone knows of a workaround to make this work for imfreehand too? Thanks! Gilad
PS The idea of deleting and re-creating all ROIs is very annoying, but a possible fallback option.

Answers (0)

This question is closed.

Asked:

on 2 Aug 2016

Closed:

on 20 Aug 2021

Community Treasure Hunt

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

Start Hunting!