represents a clickable pane that displays as image and applies func to the coordinates of each click within the pane.
specifies the range of coordinates to use.
Details and Options
- The image in a click pane can be a graphic or any other expression.
- For a Graphics object g, ClickPane[g,func] by default takes the range of coordinates supplied to func to be the range of graphics coordinates corresponding to PlotRange in g.
- For a general expression, ClickPane[expr,func] takes the range of coordinates to be 0 to 1 in each direction.
Examplesopen allclose all
Create a circle from three points [more info]:
Possible Issues (1)
Use EventHandler to get additional flexibility in registering actions with events: