Package-level declarations

Types

Link copied to clipboard
class BasicPath(pathString: String)

Used to convert the String of an absolute file path to an BasicPath object. This was a critical feature to prevent URL Strings from being confused with Path Strings.

Link copied to clipboard
class BasicUrl(urlString: String)

Used to convert the String of an absolute file path to an BasicUrl object. This was a critical feature to prevent URL Strings from being confused with Path Strings.

Link copied to clipboard

This API is not considered 'production' until reaching version 1.0.0 or higher

Link copied to clipboard

Gets and caches an image file by urlString after invoke of ImageClient instance.

Link copied to clipboard
actual object ImageLoader

Contains load functions for BasicImage that accepts both BasicUrl and BasicPath objects.

expect object ImageLoader

Contains load functions for BasicImage that accepts both BasicUrl and BasicPath objects.

actual object ImageLoader

Contains load functions for BasicImage that accepts both BasicUrl and BasicPath objects.

actual object ImageLoader

Contains load functions for BasicImage that accepts both BasicUrl and BasicPath objects.

actual object ImageLoader

Contains load functions for BasicImage that accepts both BasicUrl and BasicPath objects.

Link copied to clipboard
sealed class ImageState

Indicates the current state of an BasicImage as it proceeds through the ImageLoader.load cycle

Functions

Link copied to clipboard
fun BasicImage(path: BasicPath, contentDescription: String? = null, modifier: Modifier = Modifier, alignment: Alignment = Alignment.Center, contentScale: ContentScale = ContentScale.Fit, alpha: Float = DefaultAlpha, colorFilter: ColorFilter? = null, filterQuality: FilterQuality = DefaultFilterQuality, placeholderEnabled: Boolean = true)

A composable that lays out and asynchronously draws a ImageBitmap from a given BasicPath using a LaunchedEffect.

fun BasicImage(url: BasicUrl, contentDescription: String? = null, modifier: Modifier = Modifier, alignment: Alignment = Alignment.Center, contentScale: ContentScale = ContentScale.Fit, alpha: Float = DefaultAlpha, colorFilter: ColorFilter? = null, filterQuality: FilterQuality = DefaultFilterQuality, placeholderEnabled: Boolean = true)

A composable that lays out and asynchronously draws a ImageBitmap from a given BasicUrl using a LaunchedEffect.

Link copied to clipboard
fun BasicImagePlaceHolder(modifier: Modifier = Modifier)

A composable that displays while waiting on a BasicImage to load.