screenshot

package
v0.0.0-...-bf68151 Latest Latest
Warning

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

Go to latest
Published: Jul 13, 2019 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SceneManager

type SceneManager interface {
	ResetPseudoScreen()
	SetPseudoScreen(screen *ebiten.Image)
	SetLanguage(lang language.Tag) language.Tag
}

type Screenshot

type Screenshot struct {
	// contains filtered or unexported fields
}

func New

func New(sizes []Size, langs []language.Tag) *Screenshot

func (*Screenshot) IsFinished

func (s *Screenshot) IsFinished() bool

func (*Screenshot) TryDump

func (s *Screenshot) TryDump() ([]byte, Size, language.Tag, error)

func (*Screenshot) Update

func (s *Screenshot) Update(sceneManager SceneManager)

type Size

type Size struct {
	Width  int
	Height int
}

Jump to

Keyboard shortcuts

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