Documentation ¶
Index ¶
- Variables
- func ColorFromHex(hex string) (*color.RGBA, error)
- func IconPath(letter string, size string, colr *color.RGBA) string
- func MainLetterFromURL(URL string) string
- func ParseIconPath(fullpath string) (string, *color.RGBA, int)
- func RGBToHSV(c color.Color) (h, s, v float64)
- func Render(letter string, bgColor color.Color, width int, out io.Writer) error
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultBackgroundColor *color.RGBA
Functions ¶
func MainLetterFromURL ¶
func ParseIconPath ¶
path is like: lettericons/M-144-EFC25D.png
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.