Interface

ColorProducer

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

Source set: 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

Last updated: