Source set: Common
public class ChipShapes(
public val shape: Shape,
public val selectedShape: Shape,
public val pressedShape: Shape = selectedShape,
)
The shapes that will be used in chips. Chip will morph between these shapes depending on the state of the chip, assuming all of the shapes are CornerBasedShapes.
Functions
copy
Source set: Common
public fun copy(
shape: Shape? = this.shape,
selectedShape: Shape? = this.selectedShape,
pressedShape: Shape? = this.pressedShape,
): ChipShapes
Returns a copy of this ChipShapes, optionally overriding some of the values.
equals
Source set: Common
override fun equals(other: Any?): Boolean
hashCode
Source set: Common
override fun hashCode(): Int