Package 

Interface SubcomposeAsyncImageScope

  • All Implemented Interfaces:
    androidx.compose.foundation.layout.BoxScope

    @Immutable() 
    public interface SubcomposeAsyncImageScope
     implements BoxScope
                        

    A scope for the children of SubcomposeAsyncImage.

    • Method Summary

      Modifier and Type Method Description
      abstract AsyncImagePainter getPainter() The painter that is drawn by SubcomposeAsyncImageContent.
      abstract String getContentDescription() The content description for SubcomposeAsyncImageContent.
      abstract Alignment getAlignment() The default alignment for any composables drawn in this scope.
      abstract ContentScale getContentScale() The content scale for SubcomposeAsyncImageContent.
      abstract Float getAlpha() The alpha for SubcomposeAsyncImageContent.
      abstract ColorFilter getColorFilter() The color filter for SubcomposeAsyncImageContent.
      abstract Boolean getClipToBounds() If true, applies clipToBounds to SubcomposeAsyncImageContent.
      • Methods inherited from class coil.compose.SubcomposeAsyncImageScope

        align, matchParentSize
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • getAlignment

         abstract Alignment getAlignment()

        The default alignment for any composables drawn in this scope.

      • getContentScale

         abstract ContentScale getContentScale()

        The content scale for SubcomposeAsyncImageContent.

      • getAlpha

         abstract Float getAlpha()

        The alpha for SubcomposeAsyncImageContent.

      • getColorFilter

         abstract ColorFilter getColorFilter()

        The color filter for SubcomposeAsyncImageContent.

      • getClipToBounds

         abstract Boolean getClipToBounds()

        If true, applies clipToBounds to SubcomposeAsyncImageContent.