The shapes that will be used in toggle buttons. Toggle button will morph between these three shapes depending on the interaction of the toggle button, assuming all of the shapes are CornerBasedShapes.

Summary

Public constructors

ButtonShapes(shape: Shape, pressedShape: Shape, checkedShape: Shape)
Cmn

Public functions

open operator Boolean
equals(other: Any?)
Cmn
open Int
Cmn

Public properties

Shape

is the checked shape.

Cmn
Shape

is the pressed shape.

Cmn
Shape

is the unchecked shape.

Cmn

Public constructors

ButtonShapes

ButtonShapes(shape: Shape, pressedShape: Shape, checkedShape: Shape)

Public functions

equals

open operator fun equals(other: Any?): Boolean

hashCode

open fun hashCode(): Int

Public properties

checkedShape

val checkedShapeShape

is the checked shape.

pressedShape

val pressedShapeShape

is the pressed shape.

shape

val shapeShape

is the unchecked shape.