Package-level declarations

Types

Link copied to clipboard
class KiteAnimationImage(val animation: KiteAnimation, val shareable: Boolean = false) : Image

A coil3.Image carrying a full decoded animation. Coil's own machinery treats it as a static image (drawing the first composited frame), which keeps plain AsyncImage working everywhere; KiteAsyncImage detects this type in a successful result and takes over playback with its own frame loop.

Link copied to clipboard
class KiteImageDecoder(source: ImageSource, options: Options, maxCacheableAnimationBytes: Long = Factory.DEFAULT_MAX_CACHEABLE_ANIMATION_BYTES) : Decoder

A coil3.decode.Decoder backed by KiteImage's pure-Kotlin codecs.

Functions

Link copied to clipboard
fun KiteAsyncImage(model: Any?, contentDescription: String?, modifier: Modifier = Modifier, imageLoader: ImageLoader = SingletonImageLoader.get(LocalPlatformContext.current), alignment: Alignment = Alignment.Center, contentScale: ContentScale = ContentScale.Fit, alpha: Float = DefaultAlpha, colorFilter: ColorFilter? = null, filterQuality: FilterQuality = DrawScope.DefaultFilterQuality, animate: Boolean = true, placeholder: Painter? = null, error: Painter? = null, onSuccess: (SuccessResult) -> Unit? = null, onError: (ErrorResult) -> Unit? = null)

AsyncImage, but animations actually play: on every target.