Info

此问题已关闭。 请重新打开它进行编辑或回答。

Some questions about rbbox!

1 次查看(过去 30 天)
Mr M.
Mr M. 2018-3-9
关闭: MATLAB Answer Bot 2021-8-20
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?

回答(1 个)

Walter Roberson
Walter Roberson 2018-3-9
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.

此问题已关闭。

Community Treasure Hunt

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

Start Hunting!

Translated by