-
- All Implemented Interfaces:
public final class ImageWithSource
-
-
Method Summary
Modifier and Type Method Description final static UnitImageBySource(Object source, Modifier modifier, Alignment alignment, ContentScale contentScale, String contentDescription, ColorFilter colorFilter, Float alpha)Draw image using a drawable source one of ImageBitmap, ImageVector, or Painter. -
-
Method Detail
-
ImageBySource
final static Unit ImageBySource(Object source, Modifier modifier, Alignment alignment, ContentScale contentScale, String contentDescription, ColorFilter colorFilter, Float alpha)
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.
-
-
-
-