myimage

package
v0.4.1 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(l, h int, c color.RGBA) *image.Paletted

func Save added in v0.4.0

func Save(w io.Writer, img *image.Paletted) error

func TextBounds added in v0.3.1

func TextBounds(fontSize, textLen, yOff int) (int, int)

func Write added in v0.3.0

func Write(dst draw.Image, text string, c color.RGBA, fontPath string, fontSize float64) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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