Interface

ColorProducer

Alternative to () -> Color that's useful for avoiding boxing.

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