Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewEuclidianGrid ¶
func NewEuclidianGrid(args ...interface{}) (colours.Grid, error)
func NewNamedGrid ¶
Types ¶
type EuclidianGrid ¶
type EuclidianGrid struct {
colours.Grid
}
func (*EuclidianGrid) Closest ¶
func (eu *EuclidianGrid) Closest(target colours.Colour, palette colours.Palette) (colours.Colour, error)
Click to show internal directories.
Click to hide internal directories.