ThemeState¶
@Serializable
sealed interface ThemeState
Sealed base for composable theme states rendered as sprites.
Inheritors¶
Properties¶
texture¶
abstract val texture: SResourceLocation
Resource location of the sprite atlas or source image.
textureSize¶
@SerialName
(value = "texture_size")abstract val textureSize: Size
Full pixel size of the source image when UV rendering is used.
u¶
Horizontal UV offset within the atlas.
v¶
Vertical UV offset within the atlas.