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.

interface BackgroundLayerDsl

Functions

backgroundColor
Link copied to clipboard

Set the BackgroundColor property

abstract fun backgroundColor(backgroundColor: Expression): BackgroundLayer
abstract fun backgroundColor(backgroundColor: String): BackgroundLayer

Set the BackgroundColor property.

abstract fun backgroundColor(@ColorInt() backgroundColor: Int): BackgroundLayer
backgroundColorTransition
Link copied to clipboard

Set the BackgroundColor property transition options

abstract fun backgroundColorTransition(options: StyleTransition): BackgroundLayer
abstract fun backgroundColorTransition(block: StyleTransition.Builder.() -> Unit): BackgroundLayer
backgroundOpacity
Link copied to clipboard

Set the BackgroundOpacity property

abstract fun backgroundOpacity(backgroundOpacity: Expression): BackgroundLayer
abstract fun backgroundOpacity(backgroundOpacity: Double): BackgroundLayer
backgroundOpacityTransition
Link copied to clipboard

Set the BackgroundOpacity property transition options

abstract fun backgroundOpacityTransition(options: StyleTransition): BackgroundLayer
abstract fun backgroundOpacityTransition(block: StyleTransition.Builder.() -> Unit): BackgroundLayer
backgroundPattern
Link copied to clipboard

Set the BackgroundPattern property

abstract fun backgroundPattern(backgroundPattern: Expression): BackgroundLayer
abstract fun backgroundPattern(backgroundPattern: String): BackgroundLayer
backgroundPatternTransition
Link copied to clipboard

Set the BackgroundPattern property transition options

abstract fun backgroundPatternTransition(options: StyleTransition): BackgroundLayer
abstract fun backgroundPatternTransition(block: StyleTransition.Builder.() -> Unit): BackgroundLayer
equals
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
hashCode
Link copied to clipboard
open override fun hashCode(): Int
maxZoom
Link copied to clipboard

Set the maxzoom property

abstract fun maxZoom(maxZoom: Double): BackgroundLayer
minZoom
Link copied to clipboard

Set the minzoom property

abstract fun minZoom(minZoom: Double): BackgroundLayer
toString
Link copied to clipboard
open override fun toString(): String
visibility
Link copied to clipboard

Set the Visibility property

abstract fun visibility(visibility: Visibility): BackgroundLayer

Inheritors

BackgroundLayer
Link copied to clipboard