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
type WebColor ¶ added in v0.9.0
Like color.RGBA but we can be serialized to JSON!
func (WebColor) MarshalJSON ¶ added in v0.9.0
func (*WebColor) UnmarshalJSON ¶ added in v0.9.0
Click to show internal directories.
Click to hide internal directories.