pattern

package
v1.0.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 16, 2021 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MustHex

func MustHex(s string) colorful.Color

Types

type GradientTable

type GradientTable []struct {
	Col colorful.Color
	Pos float64
}

func GetGradientTable

func GetGradientTable() GradientTable

func (GradientTable) GetInterpolatedColorFor

func (gt GradientTable) GetInterpolatedColorFor(t float64) colorful.Color

GetInterpolatedColorFor is borrowed from https://github.com/lucasb-eyer/go-colorful

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL