Package-level declarations

Functions

Link copied to clipboard
suspend fun PointerInputScope.detectTransformGestures(onGesture: (centroid: Offset, pan: Offset, zoom: Float, direction: Offset) -> Unit)

Adapted from androidx.compose.foundation.gestures.detectTransformGestures. Provides zooming direction as positive unit vector instead of rotation.

Link copied to clipboard
fun DrawScope.drawText(textMeasurer: TextMeasurer, text: String, style: TextStyle = TextStyle.Default, position: Offset = Offset.Zero, alignment: Alignment = Alignment.Center, brush: Brush = SolidColor(Color.Black))