hitTest method
Implementation
bool hitTest(num localX, num localY) {
if (bounds.contains(localX, localY)) {
final commands = _getCommands(true);
final context = _GraphicsContextHitTest(localX, localY);
_updateContext(context, commands);
return context.hit;
} else {
return false;
}
}