package
module
Version:
v0.0.0-...-3df10e3
Opens a new window with list of versions in this module.
Published: Dec 23, 2022
License: Apache-2.0
Opens a new window with license information.
Imports: 5
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
Emoji
Package emoji provides Emoji images for Ebitengine.
This library is forked from ebiten/emoji
. The original author has achieved the project. I will update it with googlefonts/noto-emoji
project.

Install
go get -u github.com/EbitenPot/emoji
Usage
func (*Game) Draw(screen *ebiten.Image) {
screen.DrawImage(emoji.Image("🍣"), nil)
}
Documentation
¶
Package emoji provides Emoji images for Ebiten.
func Image(str string) *ebiten.Image
Image returns an ebiten.Image with the specified string.
If there is no matched image, Image returns nil.
Ebiten images are cached internally. Then, the same object is returned for the same string.
Source Files
¶
Directories
¶
Click to show internal directories.
Click to hide internal directories.