SelectedImageInput
internal fun SelectedImageInput(image: ImageBitmap, inPaint: ImageInPaintState, strings: ImageToImageStrings, enabled: Boolean, inPaintVisible: Boolean, onInPaintClick: () -> Unit, onClearClick: () -> Unit)(source)
Renders the SelectedImageInput UI for the SDAI presentation layer.
Author
Dmitriy Moroz
Parameters
image
image value consumed by the API.
inPaint
in paint value consumed by the API.
strings
strings value consumed by the API.
enabled
enabled value consumed by the API.
inPaintVisible
whether inpaint controls are available for the active provider.
onInPaintClick
callback invoked by the component.
onClearClick
callback invoked by the component.