Documentation
¶
Overview ¶
Package pifont provides functionality for rendering text using bitmap fonts.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Sheet ¶
type Sheet struct { Chars map[rune]pi.Sprite Height int FgColor pi.Color // font color on sprites BgColor pi.Color // background color on sprites }
Sheet is a character sheet used for rendering text.
func (Sheet) Print ¶
Print draws text using the current draw color.
Returns the x, y position where you can continue writing text.
func (Sheet) PrintOriginal ¶
PrintOriginal prints the text using its original colors.
Click to show internal directories.
Click to hide internal directories.