EditFrameView

fun EditFrameView(imageBitmap: ImageBitmap, state: EditFrameViewState, modifier: Modifier = Modifier, overlayColor: Color = Color.Blue, showMagnifier: Boolean = true)

Displays an image with an adjustable document quadrangle.

Empty quadrangles are displayed as a full-image quadrangle.

Parameters

imageBitmap

Image on which the quadrangle is displayed.

state

Selection updated as the user drags a corner.

modifier

Modifier applied to the screen.

overlayColor

Color of the quadrangle border and grid.

showMagnifier

Whether to show a magnifier while dragging a corner.