attribute

package
v0.0.0-...-2f84c12 Latest Latest
Warning

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

Go to latest
Published: Sep 4, 2020 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Attributes

type Attributes struct {
	Width           int
	Height          int
	FontFile        string
	FontSize        float64
	FontHandler     *truetype.Font
	CharCount       int
	CharColor       color.RGBA
	BackGroundColor color.RGBA
	Wrapper         func(attr *Attributes, input *image.RGBA) *image.RGBA
}

Attributes attributes used to create Capture object

func (*Attributes) CreateFontHandler

func (a *Attributes) CreateFontHandler() (err error)

CreateFontHandler create a font handler based on FontFile

Jump to

Keyboard shortcuts

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