Back to

Package common

Latest Go to latest

The latest major version is .

Published: May 14, 2016 | License: Apache-2.0 | Module:


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

Package Files

Documentation was rendered with GOOS=linux and GOARCH=amd64.

Jump to identifier

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to identifier