ImageBySource

@Composable()
fun ImageBySource(source: Any, modifier: Modifier, alignment: Alignment, contentScale: ContentScale = ContentScale.Crop, contentDescription: String? = null, colorFilter: ColorFilter? = null, alpha: Float = DefaultAlpha)

Draw image using a drawable source one of ImageBitmap, ImageVector, or Painter.

Parameters

source

Image source one of ImageBitmap, ImageVector, or Painter.

alignment

The alignment parameter used to place the loaded ImageBitmap in the image container.

contentScale

The scale parameter used to determine the aspect ratio scaling to be used for the loaded ImageBitmap.

contentDescription

The content description used to provide accessibility to describe the image.

colorFilter

The colorFilter parameter used to apply for the image when it is rendered onscreen.

alpha

The alpha parameter used to apply for the image when it is rendered onscreen.