MPIColor

data class MPIColor(hex: String, opacity: Double, rgba: String)

MPIColor represents the brand color of a MPINavigatable.MPILocation

Constructors

MPIColor
Link copied to clipboard
fun MPIColor(hex: String, opacity: Double, rgba: String)

Functions

component1
Link copied to clipboard
operator fun component1(): String
component2
Link copied to clipboard
operator fun component2(): Double
component3
Link copied to clipboard
operator fun component3(): String
copy
Link copied to clipboard
fun copy(hex: String, opacity: Double, rgba: String): MPIColor
equals
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
hashCode
Link copied to clipboard
open override fun hashCode(): Int
toString
Link copied to clipboard
open override fun toString(): String

Properties

hex
Link copied to clipboard
val hex: String
Hex color of the MPIColor in String
opacity
Link copied to clipboard
val opacity: Double
Opacity of the MPIColor in String
rgba
Link copied to clipboard
val rgba: String
Rgba of the MPIColor in String