should overload and set the corner radius as `float` if using raw px, and `int` if a resource id