Light Dsl Receiver
interface LightDslReceiver
Content copied to clipboard
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
color
Link copied to clipboard
colorTransition
Link copied to clipboard
abstract fun colorTransition(block: StyleTransition.Builder.() -> Unit): Light
Content copied to clipboard
DSL for colorTransition.
intensityTransition
Link copied to clipboard
abstract fun intensityTransition(block: StyleTransition.Builder.() -> Unit): Light
Content copied to clipboard
DSL for intensityTransition.
position
Link copied to clipboard
abstract fun position(position: LightPosition = LightPosition(1.15, 210.0, 30.0)): Light
Content copied to clipboard
positionTransition
Link copied to clipboard
abstract fun positionTransition(block: StyleTransition.Builder.() -> Unit): Light
Content copied to clipboard
DSL for positionTransition.
Inheritors
Light
Link copied to clipboard