text

package
v0.0.0-...-d4fbba4 Latest Latest
Warning

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

Go to latest
Published: Jul 5, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Shadowed

func Shadowed(dst *ebiten.Image, text string, face font.Face, x, y float64, clr color.Color, shadowClr color.Color, shadowSize float64)

Shadowed renders the given text with a shadow around the outside. Note that per Ebiten, the origin point is a 'dot' (period) position not the top-left corner as you might expect.

func ShadowedWithOptions

func ShadowedWithOptions(dst *ebiten.Image, text string, face font.Face, op *ebiten.DrawImageOptions, clr color.Color, shadowClr color.Color, shadowSize float64)

ShadowedWithOptions renders the given text with a shadow around the outside.

Types

This section is empty.

Jump to

Keyboard shortcuts

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