colorwheel

package
v1.1.6 Latest Latest
Warning

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

Go to latest
Published: Oct 16, 2017 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Wheel

type Wheel struct {
	// contains filtered or unexported fields
}

Wheel for sequentially repeatable colors for coloring messages related grouping by a given id - color relation

func New

func New(palette [][]color.Attribute) Wheel

New create a color Wheel

func (*Wheel) Get

func (w *Wheel) Get(id string) []color.Attribute

Get a color for a given id

Jump to

Keyboard shortcuts

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