Radial

data class Radial(val circle: Boolean, val center: Vector2, val stops: List<GradientStop>, val repeating: Boolean = false) : BackgroundImage(source)

A radial gradient around center, in fractions of the box, to its farthest corner: a circle, or an ellipse with the proportions of the box

Constructors

Link copied to clipboard
constructor(circle: Boolean, center: Vector2, stops: List<GradientStop>, repeating: Boolean = false)

Properties

Link copied to clipboard
val center: Vector2
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard