Package 

Class ZoomableAsyncImageKt

    • Method Summary

      Modifier and Type Method Description
      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) A zoomable image that can be loaded by Coil and displayed using me.saket.telephoto.zoomable.
      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

        @Composable() 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)

        A zoomable image that can be loaded by Coil and displayed using me.saket.telephoto.zoomable.ZoomableImage.

        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 me.saket.telephoto.zoomable.ZoomableImage for full documentation of parameters.

      • coil

        @Composable() 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 = …
        )