drawing

package
v0.0.0-...-3d06fe7 Latest Latest
Warning

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

Go to latest
Published: Jan 29, 2024 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetFont

func GetFont(fontType string, size float64) truetype.IndexableFace

GetFont returns a new font every time because it's not concurrent safe

Types

type Service

type Service interface {
	GetAssetPath(buttonIndex int) string
	DrawFile(ctx context.Context, filename string) (bytes.Buffer, error)
}

func NewService

func NewService(sportsService sports.Service) Service

Jump to

Keyboard shortcuts

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