BackgroundGradientPoint

Define point on gradient straight line

type BackgroundGradientPoint struct {
    Color any
    Pos any
}
Member Type Description
Color any Color of the point. Must not be nil. Can take a value of Color type or string (color constant or textual description of the color)
Pos any Distance from the start of the gradient straight line. Optional (may be nil). Can take a value of SizeUnit type or string (angle constant or textual description of the SizeUnit)