Gradient

@Serializable
data class Gradient(val topColor: HEXAColor, val bottomColor: HEXAColor, val rotationAngle: Short) : BackgroundFill

Constructors

Link copied to clipboard
constructor(topColor: HEXAColor, bottomColor: HEXAColor, rotationAngle: Short)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
@SerialName(value = "bottom_color")
val bottomColor: HEXAColor
Link copied to clipboard
@Transient
open override val colors: List<HEXAColor>
Link copied to clipboard
@SerialName(value = "rotation_angle")
val rotationAngle: Short
Link copied to clipboard
@SerialName(value = "top_color")
val topColor: HEXAColor
Link copied to clipboard
@EncodeDefault
@SerialName(value = "type")
open override val type: String