Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewBackground ¶
func NewBackground(s string)
func UpdateColor ¶
func UpdateColor(bg Background, col *color.RGBA) *color.RGBA
Types ¶
type Background ¶
type Background int
Background is a type of the background around an image.
const ( Blur Background = iota Average Tile RGB Black Red Pink Blue Green )
type Path ¶
type Path struct{}
func (Path) ConvertTilda ¶
convertTilda expands paths with `~/` to an actual home directory.
func (Path) GetCacheDir ¶
Click to show internal directories.
Click to hide internal directories.