Picture

@Composable
fun Picture(image: ImageSource.PaintableFactory?, modifier: Modifier = Modifier, alternativeText: String? = null, canShrink: Boolean = true, contentFit: ContentFit = ContentFit.CONTAIN)

Creates a org.gnome.gtk.Picture that displays a picture.

Parameters

image

The image to display.

modifier

Compose Modifier for layout and styling.

alternativeText

An alternative textual description for the picture content.

canShrink

Whether the picture can be made smaller than its content.

contentFit

How the content should be resized to fit.