common

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: May 14, 2016 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Font

type Font struct {
	// contains filtered or unexported fields
}
var (
	ArcadeFont *Font
)

func (*Font) DrawText

func (f *Font) DrawText(rt *ebiten.Image, str string, ox, oy, scale int, c color.Color) error

func (*Font) DrawTextWithShadow

func (f *Font) DrawTextWithShadow(rt *ebiten.Image, str string, x, y, scale int, clr color.Color) error

func (*Font) TextWidth

func (f *Font) TextWidth(str string) int

Jump to

Keyboard shortcuts

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