palettes

package
v0.0.0-...-a139e8d Latest Latest
Warning

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

Go to latest
Published: Nov 2, 2023 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Amber = mustDecode("amber", palette_amber)
View Source
var Aurora = mustDecode("aurora", palette_aurora)
View Source
var Blue = mustDecode("blue", palette_blue)
View Source
var Fire = mustDecode("fire", palette_fire)
View Source
var Gold = mustDecode("gold", palette_gold)
View Source
var Green = mustDecode("green", palette_green)
View Source
var Horizon = mustDecode("horizon", palette_horizon)
View Source
var Ice = mustDecode("ice", palette_ice)

Functions

This section is empty.

Types

type Palette

type Palette struct {
	// contains filtered or unexported fields
}
var Default Palette = Palette{
	// contains filtered or unexported fields
}
var Mono Palette = Palette{
	// contains filtered or unexported fields
}

func PaletteFromPng

func PaletteFromPng(name string, png image.Image) (*Palette, error)

func (*Palette) Realize

func (p *Palette) Realize() []color.NRGBA

func (Palette) String

func (p Palette) String() string

Jump to

Keyboard shortcuts

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