core

package
v0.0.6 Latest Latest
Warning

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

Go to latest
Published: Apr 17, 2022 License: AGPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LoadImageFromUrI

func LoadImageFromUrI(uri string) (image.Image, error)

Types

type DrawImage

type DrawImage struct {
	BackgroundUri   string
	BackgroundColor string
	Title           string
	Label1Title     string
	Label2Title     string
	Label1Content   string
	Label2Content   string
	FontPath        string
	LogoPath        string
	// contains filtered or unexported fields
}

func (*DrawImage) DrawLabel

func (this *DrawImage) DrawLabel() error

func (*DrawImage) DrawTitle

func (this *DrawImage) DrawTitle() error

func (*DrawImage) Generate

func (this *DrawImage) Generate() (b []byte)

func (*DrawImage) Init

func (this *DrawImage) Init() error

Jump to

Keyboard shortcuts

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