Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ColorStack ¶
type ColorStack struct {
// contains filtered or unexported fields
}
func NewColorStack ¶
func NewColorStack(entries []ColorStackEntry) ColorStack
func (ColorStack) LinearSample ¶
func (cs ColorStack) LinearSample(v float64) color.Color
type ColorStackEntry ¶
type ColorStackEntry struct {
// contains filtered or unexported fields
}
func NewColorStackEntry ¶
func NewColorStackEntry(size, fadeLeft, fadeRight float64, color color.Color) ColorStackEntry
Click to show internal directories.
Click to hide internal directories.