hitTestAnnotations method
Hit test annotations at a specific position.
This is a delegating method for the editor's hit testing.
Parameters:
graphPosition: The position to test in graph/world coordinates
Returns the annotation if hit, null otherwise.
Implementation
Annotation? hitTestAnnotations(Offset graphPosition) {
return annotations.internalHitTestAnnotations(graphPosition);
}