ImageStyle

data class ImageStyle @JvmOverloads constructor(@DrawableRes val image: Int? = null, @ColorLong val tinColor: Long? = null, val height: Int? = null, val width: Int? = null, val padding: Padding? = null)

Constructors

Link copied to clipboard
constructor(@DrawableRes image: Int? = null, @ColorLong tinColor: Long? = null, height: Int? = null, width: Int? = null, padding: Padding? = null)

Properties

Link copied to clipboard
val height: Int? = null

Height in dp.

Link copied to clipboard
val image: Int? = null

Image resource.

Link copied to clipboard
val padding: Padding? = null
Link copied to clipboard
val tinColor: Long? = null

The 32-bit ARGB container background color.

Link copied to clipboard
val width: Int? = null

Width in dp.