-
public final class ZoomableAsyncImageKt
-
-
Method Summary
Modifier and Type Method Description final static UnitZoomableAsyncImage(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)A zoomable image that can be loaded by Coil and displayed using me.saket.telephoto.zoomable. final static UnitZoomableAsyncImage(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 ZoomableImageSourcecoil(ZoomableImageSource.Companion $self, Object model, ImageLoader imageLoader)A zoomable image that can be loaded by Coil and displayed using ZoomableImage(). -
-
Method Detail
-
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)
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.
-
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 = … )
-
-
-
-