Info

Cette question est clôturée. Rouvrir pour modifier ou répondre.

Some questions about rbbox!

1 vue (au cours des 30 derniers jours)
Mr M.
Mr M. le 9 Mar 2018
Clôturé : MATLAB Answer Bot le 20 Août 2021
Is it possible to change the appearance of the box? For example choose line instead of dashed line? Or use filled box?
Is it possible to restrict the area for mouse?
Is it possible to fix the width of the box and allow to change the height only?

Réponses (1)

Walter Roberson
Walter Roberson le 9 Mar 2018
Nothing about rbbox can be changed except for the initial coordinates, an option to pin a corner at a particular location, and the ability to change how quickly the box updates.
No, you cannot change the line or use a fill or restrict the area, or fix the width and change the height only.
For the ability to put constraints in, you should use imrect with the PositionConstraintFcn option.

Cette question est clôturée.

Community Treasure Hunt

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

Start Hunting!

Translated by