-
public final class ZoomableAsyncImageKt
-
-
Method Summary
Modifier and Type Method Description final static UnitZoomableAsyncImage(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. final static UnitZoomableAsyncImage(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 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, PaddingValues contentPadding, MutableInteractionSource interactionSource)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)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 UnitZoomableAsyncImage(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 UnitZoomableAsyncImage(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 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, PaddingValues contentPadding)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, 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.
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, 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)
-
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)
-
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 = … )
-
-
-
-