grid

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Mar 7, 2023 License: BSD-3-Clause Imports: 7 Imported by: 6

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewEuclidianGrid

func NewEuclidianGrid(args ...interface{}) (colours.Grid, error)

func NewNamedGrid

func NewNamedGrid(name string, args ...interface{}) (colours.Grid, error)

Types

type EuclidianGrid

type EuclidianGrid struct {
	colours.Grid
}

func (*EuclidianGrid) Closest

func (eu *EuclidianGrid) Closest(target colours.Colour, palette colours.Palette) (colours.Colour, error)

Jump to

Keyboard shortcuts

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