Rachel
Toggle table of contents
3.5.0
common
Target filter
common
Switch theme
Search in API
Skip to content
Rachel
love.yinlin.compose.theme
/
love.yinlin.compose
/
Ripple
/
RippleNode
Ripple
Node
class
RippleNode
(
interactionSource
:
InteractionSource
)
:
Modifier.Node
,
LayoutAwareModifierNode
,
CompositionLocalConsumerModifierNode
,
DrawModifierNode
Members
Constructors
Ripple
Node
Link copied to clipboard
constructor
(
interactionSource
:
InteractionSource
)
Properties
coroutine
Scope
Link copied to clipboard
val
coroutineScope
:
CoroutineScope
has
Valid
Size
Link copied to clipboard
var
hasValidSize
:
Boolean
is
Attached
Link copied to clipboard
var
isAttached
:
Boolean
need
Redraw
Link copied to clipboard
var
needRedraw
:
Boolean
node
Link copied to clipboard
override
var
node
:
Modifier.Node
pending
Interactions
Link copied to clipboard
val
pendingInteractions
:
MutableList
<
PressInteraction
>
ripples
Link copied to clipboard
val
ripples
:
MutableScatterMap
<
PressInteraction.Press
,
Ripple.RippleAnimation
>
should
Auto
Invalidate
Link copied to clipboard
open
override
val
shouldAutoInvalidate
:
Boolean
=
false
state
Layer
Link copied to clipboard
val
stateLayer
:
Ripple.StateLayer
target
Radius
Link copied to clipboard
var
targetRadius
:
Float
Functions
draw
Link copied to clipboard
open
override
fun
ContentDrawScope
.
draw
(
)
handle
Press
Interaction
Link copied to clipboard
fun
handlePressInteraction
(
pressInteraction
:
PressInteraction
)
on
Attach
Link copied to clipboard
open
override
fun
onAttach
(
)
on
Density
Change
Link copied to clipboard
open
fun
onDensityChange
(
)
on
Detach
Link copied to clipboard
open
override
fun
onDetach
(
)
on
Layout
Direction
Change
Link copied to clipboard
open
fun
onLayoutDirectionChange
(
)
on
Measure
Result
Changed
Link copied to clipboard
open
fun
onMeasureResultChanged
(
)
on
Placed
Link copied to clipboard
open
fun
onPlaced
(
coordinates
:
LayoutCoordinates
)
on
Remeasured
Link copied to clipboard
open
override
fun
onRemeasured
(
size
:
IntSize
)
on
Reset
Link copied to clipboard
open
fun
onReset
(
)
side
Effect
Link copied to clipboard
fun
sideEffect
(
effect
:
(
)
->
Unit
)