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