Some questions about rbbox!

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?

Answers (1)

Walter Roberson
Walter Roberson on 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.

This question is closed.

Asked:

on 9 Mar 2018

Closed:

on 20 Aug 2021

Community Treasure Hunt

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

Start Hunting!