Class

Shapes

Jetpack Compose Glimmer surfaces can use different shapes.

Source set: 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

Source set: Android
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.

equals

Source set: Android
override fun equals(other: Any?): Boolean

hashCode

Source set: Android
override fun hashCode(): Int

toString

Source set: Android
override fun toString(): String
Jetpack Compose beyond MaterialFree components, screens and templates for apps that don’t look like Google’s. Copy them into your app, or let your coding agent add them.Browse for free

Content updated: