label

package
v0.0.0-...-302094f Latest Latest
Warning

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

Go to latest
Published: Oct 15, 2018 License: GPL-3.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	DefaultFont *truetype.Font
)

Functions

This section is empty.

Types

type Label

type Label struct {
	// contains filtered or unexported fields
}

func New

func New(content string) *Label

func (*Label) At

func (l *Label) At(x, y int) color.Color

At

func (*Label) Bounds

func (l *Label) Bounds() image.Rectangle

func (*Label) ColorModel

func (l *Label) ColorModel() color.Model

func (*Label) SetColor

func (l *Label) SetColor(c color.Color)

SetColor

func (*Label) SetDPI

func (l *Label) SetDPI(dpi float64)

func (*Label) SetFont

func (l *Label) SetFont(f *truetype.Font)

func (*Label) SetFontSize

func (l *Label) SetFontSize(fontSize float64)

func (*Label) SetHinting

func (l *Label) SetHinting(hinting font.Hinting)

Jump to

Keyboard shortcuts

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