capsule(maximumRadius:)
A configuration that rounds the corners into a capsule shape, scaling with the view’s size up to the maximum radius you provide.
Declaration
static func capsule(maximumRadius: Double? = nil) -> UICornerConfigurationParameters
- maximumRadius:
A double value that represents the maximum radius to apply to corners for this configuration.