Shapes

data class Shapes
kotlin.Any
   ↳ androidx.ui.material.Shapes

Data class holding current shapes for common surfaces like Button or Card.

Summary

Public constructors

<init>(button: Shape = RoundedCornerShape(4.dp), card: Shape = RectangleShape)

Data class holding current shapes for common surfaces like Button or Card.

Properties

Shape

Shape used for Button

Shape

Shape used for androidx.ui.material.surface.Card

Public constructors

<init>

Shapes(
    button: Shape = RoundedCornerShape(4.dp),
    card: Shape = RectangleShape)

Data class holding current shapes for common surfaces like Button or Card.

Properties

button

val button: Shape

Shape used for Button

card

val card: Shape

Shape used for androidx.ui.material.surface.Card