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-alpha33
TextButtonShapes(shape: Shape, pressedShape: Shape = shape)
Parameters
shape: Shape

the shape of the text button when enabled

pressedShape: Shape = shape

the shape of the text button when pressed

Public functions

copy

Added in 1.0.0-alpha33
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-alpha33
val pressedShapeShape

the shape of the text button when pressed

shape

Added in 1.0.0-alpha33
val shapeShape

the shape of the text button when enabled