Documentation
¶
Overview ¶
Package initials generates initials-avatars.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Options ¶
type Options struct {
Font *opentype.Font
Palette []color.Color
LetterColor color.Color
FontSize int
// PaletteKey is used to pick the background color from the Palette.
// Using the same PaletteKey leads to the same background color being picked.
// If PaletteKey is empty (default) the background color is picked randomly.
PaletteKey string
}
Options are letter-avatar parameters.
Click to show internal directories.
Click to hide internal directories.