Package-level declarations
Functions
Link copied to clipboard
Returns the scroll state within the start and computed max scrollOffset & filters invalid scroll states.
Link copied to clipboard
fun ScrollableCanvasContainer(modifier: Modifier, calculateMaxDistance: DrawScope.(Float) -> Float, onDraw: DrawScope.(Float, Float) -> Unit, drawXAndYAxis: @Composable BoxScope.(Float, Float) -> Unit, containerBackgroundColor: Color = Color.White, layoutDirection: LayoutDirection = LayoutDirection.Ltr, onPointClicked: (Offset, Float) -> Unit = { _, _ -> }, isPinchZoomEnabled: Boolean = true, onScroll: () -> Unit = {}, onZoomInAndOut: () -> Unit = {}, scrollOrientation: Orientation = Orientation.Horizontal)
ScrollableCanvasContainer is a container used to draw any graph which supports scroll, zoom & tap or drag gestures.