Using the Java interface, is there a way to perform hit testing with the
mouse?
Specifically, can I determine if position (x,y) is the position of an object
in the score?
Or (even better), is there a way to query the objects in the score for their
bounding boxes? For example, the bounding box for a chord, or for a particular
note in a chord?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Using the Java interface, is there a way to perform hit testing with the
mouse?
Specifically, can I determine if position (x,y) is the position of an object
in the score?
Or (even better), is there a way to query the objects in the score for their
bounding boxes? For example, the bounding box for a chord, or for a particular
note in a chord?
Hi,
Look at the guidoscore.GetxxxMap API. I think it's what you're looking for.
The guidoviewer example shows how to use this API.
--
Dominique