Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
Functions ¶
func CurrentFont ¶ added in v1.4.119
func CurrentFont() string
func KeepInCache ¶
func KeepInCache()
We always keep the game character set in cache. This has to be repeated regularly as Ebitengine expires unused cache entries.
func LoadIntoCacheStepwise ¶ added in v1.3.421
Types ¶
type Face ¶
type Face struct { Face *faceWrapper Outline *faceWrapper }
Face is an alias to font.Face so users do not need to import the font package.
func (Face) BoundString ¶
BoundString returns the bounding rectangle of the given text.
Click to show internal directories.
Click to hide internal directories.