Source set: Android
public class RemoteTextButtonShapes(
public val shape: RemoteShape,
public val pressedShape: RemoteShape = shape,
)
Represents the shapes used for RemoteTextButton in various states.
When pressedShape differs from shape, RemoteTextButton animates to pressedShape while it is pressed. The press animation requires both shapes to be RemoteRoundedCornerShapes and the text button to be enabled with a constant value.
Parameters
| shape | the shape of the text button when not pressed. |
| pressedShape | the shape of the text button when pressed. |
Functions
copy
Source set: Android
public fun copy(
shape: RemoteShape = this.shape,
pressedShape: RemoteShape = this.pressedShape,
): RemoteTextButtonShapes
Returns a copy of this RemoteTextButtonShapes, optionally overriding some of the values.
Parameters
| shape | the shape of the text button when not pressed. |
| pressedShape | the shape of the text button when pressed. |
Return
a copy of this RemoteTextButtonShapes with the specified values overridden
equals
Source set: Android
override fun equals(other: Any?): Boolean
hashCode
Source set: Android
override fun hashCode(): Int