image

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Mar 20, 2025 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Overview

Package image represents image assets based on registered formats, e.g. image/jpeg or image/png.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Asset

type Asset = *ebiten.Image

Asset is image in one of registered formats. JPEG and PNG formats are registered by default.

type Provider

type Provider interface {
	asset.Provider
}

Provider provides assets of the Asset type.

func NewProvider

func NewProvider(fetcher asset.Fetcher) Provider

NewProvider initializes and returns new Provider.

Jump to

Keyboard shortcuts

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