Package 

Class ZoomableAsyncImageKt

    • Method Summary

      Modifier and Type Method Description
      final static Unit ZoomableAsyncImage(Object model, String contentDescription, EnabledZoomGestures gestures, Modifier modifier, ZoomableImageState state, ImageLoader imageLoader, Float alpha, ColorFilter colorFilter, Alignment alignment, ContentScale contentScale, Function1<Offset, Unit> onClick, Function1<Offset, Unit> onLongClick, DoubleClickToZoomListener onDoubleClick, Boolean clipToBounds, PaddingValues contentPadding, MutableInteractionSource interactionSource) A zoomable image that can be loaded by Coil 3.
      final static Unit ZoomableAsyncImage(Object model, String contentDescription, Modifier modifier, ZoomableImageState state, ImageLoader imageLoader, Float alpha, ColorFilter colorFilter, Alignment alignment, ContentScale contentScale, Function1<Offset, Unit> onClick, Function1<Offset, Unit> onLongClick, Boolean clipToBounds, DoubleClickToZoomListener onDoubleClick, PaddingValues contentPadding, MutableInteractionSource interactionSource)
      final static Unit ZoomableAsyncImage(Object model, String contentDescription, Modifier modifier, ZoomableImageState state, ImageLoader imageLoader, Float alpha, ColorFilter colorFilter, Alignment alignment, ContentScale contentScale, Boolean gesturesEnabled, Function1<Offset, Unit> onClick, Function1<Offset, Unit> onLongClick, Boolean clipToBounds, DoubleClickToZoomListener onDoubleClick, PaddingValues contentPadding, MutableInteractionSource interactionSource)
      final static Unit ZoomableAsyncImage(Object model, String contentDescription, Modifier modifier, ZoomableImageState state, ImageLoader imageLoader, Float alpha, ColorFilter colorFilter, Alignment alignment, ContentScale contentScale, Boolean gesturesEnabled, Function1<Offset, Unit> onClick, Function1<Offset, Unit> onLongClick, Boolean clipToBounds, DoubleClickToZoomListener onDoubleClick)
      final static Unit ZoomableAsyncImage(Object model, String contentDescription, EnabledZoomGestures gestures, Modifier modifier, ZoomableImageState state, ImageLoader imageLoader, Float alpha, ColorFilter colorFilter, Alignment alignment, ContentScale contentScale, Function1<Offset, Unit> onClick, Function1<Offset, Unit> onLongClick, DoubleClickToZoomListener onDoubleClick, Boolean clipToBounds, PaddingValues contentPadding)
      final static Unit ZoomableAsyncImage(Object model, String contentDescription, Modifier modifier, ZoomableImageState state, ImageLoader imageLoader, Float alpha, ColorFilter colorFilter, Alignment alignment, ContentScale contentScale, Function1<Offset, Unit> onClick, Function1<Offset, Unit> onLongClick, Boolean clipToBounds, DoubleClickToZoomListener onDoubleClick, PaddingValues contentPadding)
      final static Unit ZoomableAsyncImage(Object model, String contentDescription, Modifier modifier, ZoomableImageState state, ImageLoader imageLoader, Float alpha, ColorFilter colorFilter, Alignment alignment, ContentScale contentScale, Boolean gesturesEnabled, Function1<Offset, Unit> onClick, Function1<Offset, Unit> onLongClick, Boolean clipToBounds, DoubleClickToZoomListener onDoubleClick, PaddingValues contentPadding)
      final static Unit ZoomableAsyncImage(Object model, String contentDescription, Modifier modifier, ZoomableImageState state, ImageLoader imageLoader, Float alpha, ColorFilter colorFilter, Alignment alignment, ContentScale contentScale, Boolean gesturesEnabled, Function1<Offset, Unit> onClick, Function1<Offset, Unit> onLongClick, Boolean clipToBounds)
      final static ZoomableImageSource coil(ZoomableImageSource.Companion $self, Object model, ImageLoader imageLoader) A zoomable image that can be loaded by Coil and displayed using ZoomableImage().
      • Methods inherited from class java.lang.Object

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

      • ZoomableAsyncImage

         final static Unit ZoomableAsyncImage(Object model, String contentDescription, EnabledZoomGestures gestures, Modifier modifier, ZoomableImageState state, ImageLoader imageLoader, Float alpha, ColorFilter colorFilter, Alignment alignment, ContentScale contentScale, Function1<Offset, Unit> onClick, Function1<Offset, Unit> onLongClick, DoubleClickToZoomListener onDoubleClick, Boolean clipToBounds, PaddingValues contentPadding, MutableInteractionSource interactionSource)

        A zoomable image that can be loaded by Coil 3.

        Example usages:

        ZoomableAsyncImage(
          model = "https://example.com/image.jpg",
          contentDescription = …
        )
        
        ZoomableAsyncImage(
          model = ImageRequest.Builder(LocalContext.current)
            .data("https://example.com/image.jpg")
            .build(),
          contentDescription = …
        )

        See ZoomableImage for full documentation of parameters.

      • ZoomableAsyncImage

         final static Unit ZoomableAsyncImage(Object model, String contentDescription, Modifier modifier, ZoomableImageState state, ImageLoader imageLoader, Float alpha, ColorFilter colorFilter, Alignment alignment, ContentScale contentScale, Function1<Offset, Unit> onClick, Function1<Offset, Unit> onLongClick, Boolean clipToBounds, DoubleClickToZoomListener onDoubleClick, PaddingValues contentPadding, MutableInteractionSource interactionSource)
      • ZoomableAsyncImage

         final static Unit ZoomableAsyncImage(Object model, String contentDescription, Modifier modifier, ZoomableImageState state, ImageLoader imageLoader, Float alpha, ColorFilter colorFilter, Alignment alignment, ContentScale contentScale, Boolean gesturesEnabled, Function1<Offset, Unit> onClick, Function1<Offset, Unit> onLongClick, Boolean clipToBounds, DoubleClickToZoomListener onDoubleClick, PaddingValues contentPadding, MutableInteractionSource interactionSource)
      • ZoomableAsyncImage

         final static Unit ZoomableAsyncImage(Object model, String contentDescription, Modifier modifier, ZoomableImageState state, ImageLoader imageLoader, Float alpha, ColorFilter colorFilter, Alignment alignment, ContentScale contentScale, Boolean gesturesEnabled, Function1<Offset, Unit> onClick, Function1<Offset, Unit> onLongClick, Boolean clipToBounds, DoubleClickToZoomListener onDoubleClick)
      • ZoomableAsyncImage

         final static Unit ZoomableAsyncImage(Object model, String contentDescription, EnabledZoomGestures gestures, Modifier modifier, ZoomableImageState state, ImageLoader imageLoader, Float alpha, ColorFilter colorFilter, Alignment alignment, ContentScale contentScale, Function1<Offset, Unit> onClick, Function1<Offset, Unit> onLongClick, DoubleClickToZoomListener onDoubleClick, Boolean clipToBounds, PaddingValues contentPadding)
      • ZoomableAsyncImage

         final static Unit ZoomableAsyncImage(Object model, String contentDescription, Modifier modifier, ZoomableImageState state, ImageLoader imageLoader, Float alpha, ColorFilter colorFilter, Alignment alignment, ContentScale contentScale, Function1<Offset, Unit> onClick, Function1<Offset, Unit> onLongClick, Boolean clipToBounds, DoubleClickToZoomListener onDoubleClick, PaddingValues contentPadding)
      • ZoomableAsyncImage

         final static Unit ZoomableAsyncImage(Object model, String contentDescription, Modifier modifier, ZoomableImageState state, ImageLoader imageLoader, Float alpha, ColorFilter colorFilter, Alignment alignment, ContentScale contentScale, Boolean gesturesEnabled, Function1<Offset, Unit> onClick, Function1<Offset, Unit> onLongClick, Boolean clipToBounds, DoubleClickToZoomListener onDoubleClick, PaddingValues contentPadding)
      • ZoomableAsyncImage

         final static Unit ZoomableAsyncImage(Object model, String contentDescription, Modifier modifier, ZoomableImageState state, ImageLoader imageLoader, Float alpha, ColorFilter colorFilter, Alignment alignment, ContentScale contentScale, Boolean gesturesEnabled, Function1<Offset, Unit> onClick, Function1<Offset, Unit> onLongClick, Boolean clipToBounds)
      • coil

         final static ZoomableImageSource coil(ZoomableImageSource.Companion $self, Object model, ImageLoader imageLoader)

        A zoomable image that can be loaded by Coil and displayed using ZoomableImage().

        Example usage:

        ZoomableImage(
          image = ZoomableImageSource.coil("https://example.com/image.jpg"),
          contentDescription = …
        )
        
        ZoomableImage(
          image = ZoomableImageSource.coil(
            ImageRequest.Builder(LocalContext.current)
              .data("https://example.com/image.jpg")
              .build()
          ),
          contentDescription = …
        )