can getpixelposition() be used for uifigure?

1 回表示 (過去 30 日間)
Xiangrui Li
Xiangrui Li 2020 年 10 月 28 日
回答済み: Aman Vyas 2020 年 11 月 6 日
getpixelposition(hObj, recursive) is a convenient function to get the position of an object, especially when recursive is true.
The documentation says it should be used only for legacy figure/GUIDE. But based on my limited test, it works fine for uifigure without any warning.
Is the documentation a little outdated, or is there any consideration to avoid using it for uifigure?

採用された回答

Aman Vyas
Aman Vyas 2020 年 11 月 6 日
Hi,
getpixelposition is supported in uifigure. The documentation pages should update in future releases.
Aman

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeDevelop uifigure-Based Apps についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by