ContinuousRoundedCornerShape

constructor(topStart: CornerSize, topEnd: CornerSize, bottomEnd: CornerSize, bottomStart: CornerSize, smoothing: Float = 1.0f)

Parameters

topStart

The top-start corner size.

topEnd

The top-end corner size.

bottomEnd

The bottom-end corner size.

bottomStart

The bottom-start corner size.

smoothing

How far corners ease into their edges: 0f is circular, matching RoundedCornerShape, and 1f, the default, is calibrated to look like SwiftUI's .continuous style. Finite values outside 0f..1f, such as animation overshoot, are coerced into that range.