The radius is based on visual observation. We have good theories and models about what's happening inside the star. We are quite sure that it's mostly empty space inside the radius. But that's not a good enough reason to say that the star's radius is anything other than what we see through our telescope.