emoji

package module
v0.0.0-...-3df10e3 Latest Latest
Warning

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

Go to latest
Published: Dec 23, 2022 License: Apache-2.0 Imports: 5 Imported by: 0

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.

Example

Install

go get -u github.com/EbitenPot/emoji

Usage

func (*Game) Draw(screen *ebiten.Image) {
    screen.DrawImage(emoji.Image("🍣"), nil)
}

Documentation

Overview

Package emoji provides Emoji images for Ebiten.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Image

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.

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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