TiledImageTile

sealed interface TiledImageTile(source)

Immutable current presentation state of one tiled-image cell.

Loading, absent, and failed application states all present as Empty; source-specific retry and error reporting remain outside the component. A newer source revision may replace either variant.

Inheritors

Types

Link copied to clipboard
data object Empty : TiledImageTile

Presents no pixels for this tile revision and allows the component to use a ready coarser fallback.

Link copied to clipboard
data class Ready(val image: DrawImage) : TiledImageTile

Presents one immutable whole-tile image.