ImageInPaintCanvas

internal fun ImageInPaintCanvas(modifier: Modifier = Modifier, image: ImageBitmap, state: ImageInPaintState, drawEnabled: Boolean = true, onStrokeDrawn: (InPaintStroke) -> Unit = {})(source)

Renders the ImageInPaintCanvas UI for the SDAI presentation layer.

Author

Dmitriy Moroz

Parameters

modifier

Compose modifier applied to the rendered UI.

image

image value consumed by the API.

state

state rendered or processed by the component.

drawEnabled

draw enabled value consumed by the API.

onStrokeDrawn

callback invoked by the component.