screen

package
v0.0.0-...-8074eba Latest Latest
Warning

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

Go to latest
Published: Mar 14, 2019 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Fx

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

func NewFx

func NewFx(file string, dst *image.Gray) *Fx

func (*Fx) ClearScreen

func (fx *Fx) ClearScreen()

func (*Fx) DrawText

func (fx *Fx) DrawText(s string, x, y int)

func (*Fx) Render

func (fx *Fx) Render(t float64) image.Image

Render the effect at time t.

func (*Fx) SetColor

func (fx *Fx) SetColor(fg, bg uint8)

func (*Fx) SetDraw

func (fx *Fx) SetDraw(img *image.Gray)

Jump to

Keyboard shortcuts

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