Package 

Class ImageWithSource

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Constructor Detail

    • 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.