Isn't the fourth parameter to `computeRoundCorner` the corner type?