RippleAlpha
Kotlin
|Java
@Immutable class RippleAlpha
kotlin.Any | |
↳ | androidx.compose.material.ripple.RippleAlpha |
RippleAlpha defines the alpha of the ripple / state layer for different Interactions.
Summary
Public constructors | |
---|---|
RippleAlpha defines the alpha of the ripple / state layer for different Interactions. |
Public methods | |
---|---|
Boolean | |
Int |
hashCode() |
String |
toString() |
Properties | |
---|---|
Float |
the alpha used when the ripple is dragged |
Float |
not currently supported |
Float |
not currently supported |
Float |
the alpha used when the ripple is pressed |
Public constructors
<init>
RippleAlpha(
draggedAlpha: Float,
focusedAlpha: Float,
hoveredAlpha: Float,
pressedAlpha: Float)
RippleAlpha defines the alpha of the ripple / state layer for different Interactions.
Public methods
hashCode
fun hashCode(): Int
toString
fun toString(): String