Linear

data class Linear(val angle: Double, val corner: Vector2?, val stops: List<GradientStop>, val repeating: Boolean = false) : BackgroundImage(source)

A linear gradient: along angle in degrees, 0 up and 90 to the right, or towards the corner corner, (±1, ±1) with y down, when it is given

Constructors

Link copied to clipboard
constructor(angle: Double, corner: Vector2?, stops: List<GradientStop>, repeating: Boolean = false)

Properties

Link copied to clipboard
Link copied to clipboard
val corner: Vector2?
Link copied to clipboard
Link copied to clipboard