Android
public class Shapes(
public val small: Shape = RoundedCornerShape(24.dp),
public val medium: Shape = RoundedCornerShape(36.dp),
public val large: Shape = CircleShape,
)
Jetpack Compose Glimmer surfaces can use different shapes. Shapes contains different levels of roundedness for different components.
Functions
copy
public fun copy(
small: Shape = this.small,
medium: Shape = this.medium,
large: Shape = this.large,
): Shapes
Returns a copy of this Shapes, optionally overriding some of the values.