Package com.mapbox.maps.extension.style.light.generated

Types

Light
Link copied to clipboard

The global light source.

class Light : LightDslReceiver, StyleContract.StyleLightExtension
LightDslReceiver
Link 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.

interface LightDslReceiver

Functions

addLight
Link copied to clipboard

Extension function to add a Light provided by the Style Plugin to the Style.

fun StyleManagerInterface.addLight(light: StyleContract.StyleLightExtension)
getLight
Link copied to clipboard

Extension function to get the light provided by the Style Plugin.

fun StyleManagerInterface.getLight(): Light
light
Link copied to clipboard

DSL function for Light.

fun light(block: LightDslReceiver.() -> Unit): Light