BackgroundLayerDsl

interface BackgroundLayerDsl

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

backgroundColor
Link copied to clipboard
abstract fun backgroundColor(backgroundColor: Expression): BackgroundLayer
Set the BackgroundColor property
abstract fun backgroundColor(@ColorInt() backgroundColor: Int): BackgroundLayer
Set the BackgroundColor property.
abstract fun backgroundColor(backgroundColor: String = "#000000"): BackgroundLayer
Set the BackgroundColor property
backgroundColorTransition
Link copied to clipboard
abstract fun backgroundColorTransition(options: StyleTransition): BackgroundLayer
Set the BackgroundColor property transition options
abstract fun backgroundColorTransition(block: StyleTransition.Builder.() -> Unit): BackgroundLayer
backgroundOpacity
Link copied to clipboard
abstract fun backgroundOpacity(backgroundOpacity: Expression): BackgroundLayer
Set the BackgroundOpacity property
abstract fun backgroundOpacity(backgroundOpacity: Double = 1.0): BackgroundLayer
Set the BackgroundOpacity property
backgroundOpacityTransition
Link copied to clipboard
abstract fun backgroundOpacityTransition(options: StyleTransition): BackgroundLayer
Set the BackgroundOpacity property transition options
abstract fun backgroundOpacityTransition(block: StyleTransition.Builder.() -> Unit): BackgroundLayer
backgroundPattern
Link copied to clipboard
abstract fun backgroundPattern(backgroundPattern: Expression): BackgroundLayer
Set the BackgroundPattern property
abstract fun backgroundPattern(backgroundPattern: String): BackgroundLayer
Set the BackgroundPattern property
backgroundPatternTransition
Link copied to clipboard
abstract fun backgroundPatternTransition(options: StyleTransition): BackgroundLayer
Set the BackgroundPattern property transition options
abstract fun backgroundPatternTransition(block: StyleTransition.Builder.() -> Unit): BackgroundLayer
maxZoom
Link copied to clipboard
abstract fun maxZoom(maxZoom: Double): BackgroundLayer
Set the maxzoom property
minZoom
Link copied to clipboard
abstract fun minZoom(minZoom: Double): BackgroundLayer
Set the minzoom property
visibility
Link copied to clipboard
abstract fun visibility(visibility: Visibility): BackgroundLayer
Set the Visibility property

Inheritors

BackgroundLayer
Link copied to clipboard