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