GradientPoint
Define gradient stop point
type GradientPoint struct {
Color Color
Offset float64
}
Member | Type | Description |
---|---|---|
Color | Color |
Color of the stop |
Offset | float64 |
Number between 0 and 1 inclusive, representing the position of the color stop |