Screen Layer Definition
data class ScreenLayerDefinition(val type: String = "shape", val start: Int = 0, val duration: Int = 20, val color: String = "#FFFFFF", val opacity: Double = 1.0, val easing: String = "ease-in-out", val animation: String = "fill", val style: String = "band", val pattern: String = "linear", val direction: String = "left-to-right", val mode: String = "center-out", val angle: Double = 0.0, val width: Double = 160.0, val height: Double = 0.0, val anchor: GuiAnchor = GuiAnchor(50f, 50f), val x: Double = 0.0, val y: Double = 0.0, val rotation: Double = 0.0, val image: ScreenImageReference? = null, val layout: String? = null, val variables: Map<String, String> = linkedMapOf(), val refresh: Int = 5, val enter: ScreenLayerTransition = ScreenLayerTransition(), val hold: Int = 0, val exit: ScreenLayerTransition = ScreenLayerTransition(), val distance: Double = 80.0, val overshoot: Double = 1.15, val softness: Double = 0.0, val count: Int = 8, val columns: Int = 12, val rows: Int = 7, val stagger: Double = 0.0, val seed: Int = 0, val startAngle: Double = -90.0, val clockwise: Boolean = true)(source)
Constructors
Link copied to clipboard
constructor(type: String = "shape", start: Int = 0, duration: Int = 20, color: String = "#FFFFFF", opacity: Double = 1.0, easing: String = "ease-in-out", animation: String = "fill", style: String = "band", pattern: String = "linear", direction: String = "left-to-right", mode: String = "center-out", angle: Double = 0.0, width: Double = 160.0, height: Double = 0.0, anchor: GuiAnchor = GuiAnchor(50f, 50f), x: Double = 0.0, y: Double = 0.0, rotation: Double = 0.0, image: ScreenImageReference? = null, layout: String? = null, variables: Map<String, String> = linkedMapOf(), refresh: Int = 5, enter: ScreenLayerTransition = ScreenLayerTransition(), hold: Int = 0, exit: ScreenLayerTransition = ScreenLayerTransition(), distance: Double = 80.0, overshoot: Double = 1.15, softness: Double = 0.0, count: Int = 8, columns: Int = 12, rows: Int = 7, stagger: Double = 0.0, seed: Int = 0, startAngle: Double = -90.0, clockwise: Boolean = true)