AmbientLightDslReceiver

This Interface contains all the functions that will be exposed to Koltin DSL.

Separated the DSL receiver class to this interface to avoid IDE code suggestion for property getters.

Functions

Link copied to clipboard
abstract fun color(color: Expression): AmbientLight
abstract fun color(@ColorInt color: Int): AmbientLight
abstract fun color(color: String = "#ffffff"): AmbientLight

Color of the ambient light.

Link copied to clipboard

Set the Color property transition options.

Link copied to clipboard
abstract fun intensity(intensity: Expression): AmbientLight
abstract fun intensity(intensity: Double = 0.5): AmbientLight

A multiplier for the color of the ambient light.

Link copied to clipboard

Set the Intensity property transition options.

Inheritors

Link copied to clipboard