Determine if a pointer event occurred within the widget's bounds and to check if a hit occurred on a Rive listener.
bool hitTest(Offset position);