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

Summary

Public constructors

ButtonShapes(shape: Shape, pressedShape: Shape)
Cmn

Public functions

ButtonShapes
copy(shape: Shape?, pressedShape: Shape?)

Returns a copy of this ButtonShapes, optionally overriding some of the values.

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

Public properties

Shape

is the pressed shape.

Cmn
Shape

is the active shape.

Cmn

Public constructors

ButtonShapes

ButtonShapes(shape: Shape, pressedShape: Shape)

Public functions

copy

fun copy(shape: Shape? = this.shape, pressedShape: Shape? = this.pressedShape): ButtonShapes

Returns a copy of this ButtonShapes, optionally overriding some of the values.

equals

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

hashCode

open fun hashCode(): Int

Public properties

pressedShape

val pressedShapeShape

is the pressed shape.

shape

val shapeShape

is the active shape.