Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Color ¶
type Color struct { From color.RGBA // From the color we transition from To color.RGBA // To the color we transition to Updates chan color.RGBA // A channel that receives color updates Done chan int // A channel to receive a done signal // contains filtered or unexported fields }
Color provides tween support for colors.
func NewColor ¶
NewColor creates a new color updater with the provided colors and initializes unbuffered channels for Updates and Done signal.
Click to show internal directories.
Click to hide internal directories.