class TextButtonShapes


Represents the shapes used for TextButton in various states.

If pressed is non null the shape will be animated on press.

Summary

Public constructors

TextButtonShapes(shape: Shape, pressed: Shape?)

Public functions

TextButtonShapes
copy(default: Shape, pressed: Shape?)
open operator Boolean
equals(other: Any?)
open Int

Public properties

Shape?

the shape of the text button when pressed

Shape

the shape of the text button when enabled

Public constructors

TextButtonShapes

Added in 1.0.0-alpha30
TextButtonShapes(shape: Shape, pressed: Shape? = null)
Parameters
shape: Shape

the shape of the text button when enabled

pressed: Shape? = null

the shape of the text button when pressed

Public functions

copy

Added in 1.0.0-alpha30
fun copy(default: Shape = this.shape, pressed: Shape? = this.pressed): TextButtonShapes

equals

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

hashCode

open fun hashCode(): Int

Public properties

pressed

Added in 1.0.0-alpha30
val pressedShape?

the shape of the text button when pressed

shape

Added in 1.0.0-alpha30
val shapeShape

the shape of the text button when enabled