ColorProducer
Interface
Common
fun interface ColorProducer
Alternative to () -> Color
that's useful for avoiding boxing.
Can be used as:
fun nonBoxedArgs(color: ColorProducer?)
Functions
operator fun invoke(): Color
Return the color
fun interface ColorProducer
Alternative to () -> Color
that's useful for avoiding boxing.
Can be used as:
fun nonBoxedArgs(color: ColorProducer?)
operator fun invoke(): Color
Return the color