Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Color ¶
func GenerateGradient ¶
func NewRandomColor ¶
func NewRandomColor() Color
func (Color) MultiplyFloat ¶
type ColorInterpolation ¶
type ColorInterpolation struct {
// contains filtered or unexported fields
}
func NewColorInterpolation ¶
func NewColorInterpolation(a Color, b Color) ColorInterpolation
func (ColorInterpolation) Interpolate ¶
func (c ColorInterpolation) Interpolate(percent float32) Color
Click to show internal directories.
Click to hide internal directories.