Custom hitTest for the Ring shapes