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. Default value: "#ffffff".

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. Default value: 0.5. Value range: 0, 1

Link copied to clipboard

Set the Intensity property transition options.

Inheritors

Link copied to clipboard