HexColorImageHolder

data class HexColorImageHolder(val hex: String) : ImageHolder

A data class representing an image from a hex color supported format: #RRGGBB or #AARRGGBB

Parameters

hex

The hex color code of the image

crop

Whether to crop the image

Constructors

Link copied to clipboard
constructor(hex: String)

Properties

Link copied to clipboard
open override val crop: Boolean = false

Whether to crop the image

Link copied to clipboard
val hex: String