emoji

package module
v0.0.0-...-2c1b550 Latest Latest
Warning

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

Go to latest
Published: Nov 25, 2021 License: Apache-2.0 Imports: 5 Imported by: 3

README

Ebiten Emoji

Alpha version: The API is not stable yet

Package emoji provides Emoji images for Ebiten.

Example

Usage

func (*YourGame) 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