gradient.go

Structs

Structs

type ColorStop struct

ColorStop represents a color at a specific position in a gradient.

type ColorStop struct {
	Offset	float64	// Position in gradient, 0.0 to 1.0
	Color	RGBA	// Color at this position
}