class TextButtonShapes


Represents the shapes used for TextButton in various states.

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

Summary

Public constructors

TextButtonShapes(shape: Shape, pressedShape: Shape?)

Public functions

TextButtonShapes
copy(shape: Shape?, pressedShape: 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-alpha32
TextButtonShapes(shape: Shape, pressedShape: Shape? = null)
Parameters
shape: Shape

the shape of the text button when enabled

pressedShape: Shape? = null

the shape of the text button when pressed

Public functions

copy

Added in 1.0.0-alpha32
fun copy(shape: Shape? = this.shape, pressedShape: Shape? = this.pressedShape): TextButtonShapes

equals

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

hashCode

open fun hashCode(): Int

Public properties

pressedShape

Added in 1.0.0-alpha32
val pressedShapeShape?

the shape of the text button when pressed

shape

Added in 1.0.0-alpha32
val shapeShape

the shape of the text button when enabled