Overload 1
Common
fun interface ColorProducer
Alternative to () -> Color that's useful for avoiding boxing.
Can be used as:
fun nonBoxedArgs(color: ColorProducer?)
Functions
invoke
operator fun invoke(): Color
Return the color
Alternative to () -> Color that's useful for avoiding boxing.
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