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

Types

Light
Link copied to clipboard

The global light source.

Check the online documentation.

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

getLight
Link copied to clipboard

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

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

DSL function for Light.

fun light(block: LightDslReceiver.() -> Unit): Light
setLight
Link copied to clipboard

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

fun StyleInterface.setLight(light: StyleContract.StyleLightExtension)