iptSetPointerBehavior
Store pointer behavior structure in graphics object
Syntax
Description
iptSetPointerBehavior(
stores the specified pointer behavior structure in the specified graphics object,
obj
,pointerBehavior
)obj
. If obj
is an array of objects,
then iptSetPointerBehavior
stores the same structure in each
object.
If the figure has a pointer manager installed, then the pointer manager calls
these functions when the mouse moves over and then exits an object in the figure.
See iptPointerManager
.
iptSetPointerBehavior(
clears the
pointer behavior from the graphics object or objects.obj
,[])
Examples
Input Arguments
Tips
If you specify a pointer behavior using
iptSetPointerBehavior
and then change the figure pointer without usingiptSetPointerBehavior
, then theiptPointerManager
may not update to reflect the new behavior. Some ways to change the figure pointer without usingiptSetPointerBehavior
include using ROI objects such asPolygon
, another graphics object, another custom UI, or code that modifies the pointer from within a callback.
Version History
Introduced in R2006a