label

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Feb 26, 2017 License: MIT Imports: 7 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Draw

func Draw(img *image.RGBA, label ImageLabel)

Draw draws the given label in the biggest possible way to the given image.

Types

type ImageLabel

type ImageLabel struct {
	Text        string
	Color       color.RGBA
	FontBytes   []byte
	MaxFontsize float64
}

ImageLabel to draw on a last-supper image.

Jump to

Keyboard shortcuts

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