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
Click to show internal directories.
Click to hide internal directories.