Screen Effect Definition
data class ScreenEffectDefinition(val type: String = "letterbox", val mode: String = "fixed", val height: Int = 36, val ratio: Double = 2.39, val color: String = "#000000", val opacity: Double = 1.0, val top: Boolean = true, val bottom: Boolean = true, val priority: Int = 0, val animation: ScreenEffectAnimations = ScreenEffectAnimations(), val duration: Int = 0, val markers: Map<String, Int> = linkedMapOf(), val layers: LinkedHashMap<String, ScreenLayerDefinition> = linkedMapOf())(source)
A persistent letterbox or a finite, layered screen scene.
Constructors
Link copied to clipboard
constructor(type: String = "letterbox", mode: String = "fixed", height: Int = 36, ratio: Double = 2.39, color: String = "#000000", opacity: Double = 1.0, top: Boolean = true, bottom: Boolean = true, priority: Int = 0, animation: ScreenEffectAnimations = ScreenEffectAnimations(), duration: Int = 0, markers: Map<String, Int> = linkedMapOf(), layers: LinkedHashMap<String, ScreenLayerDefinition> = linkedMapOf())