toShape

Converts a RadiusSchema into a Compose RoundedCornerShape — used for style.border's own corner radius, and (via ShapeSchema.toShape) for style.clip's RoundedCornerRectangle variant.


Converts a ShapeSchema into its Compose Shape counterpart — used by Modifier.styledWith to apply style.clip.