ImageConfig

@Serializable
data class ImageConfig(var type: String = ICON_TYPE_LOCAL, val reference: String? = null, val color: String? = null, val alpha: Float = 1.0f, val imageType: ImageType = ImageType.SVG, val contentScale: ContentScaleType = ContentScaleType.FIT) : Parcelable, Serializable

Constructors

Link copied to clipboard
constructor(type: String = ICON_TYPE_LOCAL, reference: String? = null, color: String? = null, alpha: Float = 1.0f, imageType: ImageType = ImageType.SVG, contentScale: ContentScaleType = ContentScaleType.FIT)

Properties

Link copied to clipboard
val alpha: Float = 1.0f
Link copied to clipboard
val color: String? = null
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val reference: String? = null
Link copied to clipboard

Functions

Link copied to clipboard
abstract fun describeContents(): Int
Link copied to clipboard
fun interpolate(computedValuesMap: Map<String, Any>): ImageConfig
Link copied to clipboard
abstract fun writeToParcel(p0: Parcel, p1: Int)