Documentation ¶
Index ¶
Constants ¶
View Source
const MaxColorModes = 3
Variables ¶
This section is empty.
Functions ¶
Types ¶
type GradientTable ¶
type GradientTable struct { Mode int // contains filtered or unexported fields }
func (*GradientTable) AddToTable ¶
func (gt *GradientTable) AddToTable(colorString string, pos float64)
func (*GradientTable) GetInterpolatedColorFor ¶
func (gt *GradientTable) GetInterpolatedColorFor(t float64) colorful.Color
Get a blended color
func (*GradientTable) GetTable ¶
func (gt *GradientTable) GetTable() []gradientTableEntry
func (*GradientTable) Randomise ¶
func (gt *GradientTable) Randomise()
Click to show internal directories.
Click to hide internal directories.