HapiIcon

data class HapiIcon(foregroundColor: HapiColor?, backgroundColor: HapiColor?, borderColor: HapiColor?, res: String, txt: String?, txtS: String?, style: HapiIcon.Style?, shape: HapiIcon.Shape?, shapeRes: String?)

Types

Shape
Link copied to clipboard
enum Shape : Enum<HapiIcon.Shape>
Style
Link copied to clipboard
enum Style : Enum<HapiIcon.Style>

Properties

backgroundColor
Link copied to clipboard
val backgroundColor: HapiColor?

Background color

borderColor
Link copied to clipboard
val borderColor: HapiColor?

Border color

foregroundColor
Link copied to clipboard
val foregroundColor: HapiColor?

Text color

res
Link copied to clipboard
val res: String

Resource description or name

shape
Link copied to clipboard
val shape: HapiIcon.Shape? = null

Icon shape

shapeRes
Link copied to clipboard
val shapeRes: String?

Shape description. Only relevant if shape equals Shape.RES

style
Link copied to clipboard
val style: HapiIcon.Style? = null

Text style

txt
Link copied to clipboard
val txt: String?

Text

txtS
Link copied to clipboard
val txtS: String?

Short text