PanAndScaleScope

Properties

Link copied to clipboard
abstract val constraints: Constraints
Link copied to clipboard
open val pan: DpOffset
Link copied to clipboard
Link copied to clipboard
open val scale: Float

Functions

Link copied to clipboard
abstract fun items(count: Int, key: (index: Int) -> Any, offset: (index: Int) -> DpOffset, maxSize: (index: Int) -> DpSize = { DpSize.Unspecified }, forceRender: (index: Int) -> Boolean = { false }, content: @Composable (index: Int) -> Unit)
Link copied to clipboard
inline fun <T> PanAndScaleScope.items(items: List<T>, noinline key: (item: T) -> Any, crossinline position: (item: T) -> DpOffset, crossinline maxSize: (item: T) -> DpSize = { DpSize.Unspecified }, crossinline shouldForceRender: (item: T) -> Boolean = { false }, crossinline itemContent: @Composable (item: T) -> Unit)