how to get the mouse position in real time using imfreehand

1 回表示 (過去 30 日間)
alex
alex 2014 年 10 月 8 日
コメント済み: Geoff Hayes 2014 年 10 月 8 日
Hello!
I use imfreehand and i get the x and y coordinates of the mouse,but i can see them after i release the button of the mouse.
Is there any way to see the x,y coordinates while moving the mouse and holding down the button of the mouse in real time?
Thank you very much
  2 件のコメント
alex
alex 2014 年 10 月 8 日
hFH = imfreehand;
xy = hFH.getPosition
Geoff Hayes
Geoff Hayes 2014 年 10 月 8 日
Alex - can you somehow use the addNewPositionCallback method to add a function callback to the freehand object hFH that would fire whenever a new position is added to the object? See imfreehand for more details.

サインインしてコメントする。

回答 (0 件)

カテゴリ

Help Center および File ExchangeInteractive Control and Callbacks についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by