media

package
v0.0.0-...-43e2d86 Latest Latest
Warning

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

Go to latest
Published: Oct 22, 2023 License: BSD-3-Clause Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Enumerate

func Enumerate(typ Type) ([]string, error)

func LoadImage

func LoadImage(typ Type, name string) (image.Image, error)

LoadImage loads the specified image of the specified type.

Types

type Type

type Type string
const (
	TypeEye   Type = "eye"
	TypeMouth Type = "mouth"
	TypeNose  Type = "nose"
	TypeFull  Type = "full"
)

func (Type) Size

func (t Type) Size() (w int16, h int16)

Jump to

Keyboard shortcuts

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