forEach

Function

Common
inline fun <T> DraggableAnchors<T>.forEach(block: (key: T, position: Float) -> Unit)

Iterate over all the anchors.

Parameters

blockThe action to invoke with the key and position