Discover Packages
github.com/csmith/gamelib
text
package
Version:
v0.0.0-...-d3eb49b
Opens a new window with list of versions in this module.
Published: Dec 5, 2024
License: MIT
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.
Jump to ...
Documentation
Index
Constants
Variables
Functions
Shadowed(dst, text, face, x, y, clr, shadowClr, shadowSize)
ShadowedWithOptions(dst, text, face, op, clr, shadowClr, shadowSize)
Types
Source Files
Documentation
Documentation
¶
func Shadowed(dst *ebiten.Image, text string, face font.Face, x, y float64, clr color.Color, ...)
func ShadowedWithOptions(dst *ebiten.Image, text string, face font.Face, op *ebiten.DrawImageOptions, ...)
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.
ShadowedWithOptions renders the given text with a shadow around the outside.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.