Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/disintegration/letteravatar
/ functions
Functions
12 in github.com/disintegration/letteravatar
⨍
Functions
12
◇
Types & classes
1
↓ 3 callers
Function
Draw
Draw generates a new letter-avatar image of the given size using the given letter with the given options. Default parameters are used if a nil *Option
draw.go:33
↓ 3 callers
Function
newRGBA
(w, h int, c color.Color)
draw.go:101
↓ 1 callers
Function
compareImages
(img1, img2 image.Image)
draw_test.go:100
↓ 1 callers
Function
drawAvatar
(bgColor, fgColor color.Color, font *truetype.Font, size int, letter rune)
draw.go:61
↓ 1 callers
Function
drawString
(bgColor, fgColor color.Color, font *truetype.Font, fontSize float64, str string)
draw.go:76
↓ 1 callers
Function
keyindex
(n int, key string)
draw.go:112
↓ 1 callers
Function
randint
(n int)
draw.go:125
Function
TestDraw
(t *testing.T)
draw_test.go:27
Function
TestNewRGBA
(t *testing.T)
draw_test.go:10
Function
TestPaletteKey
(t *testing.T)
draw_test.go:73
Function
init
()
font.go:221
Function
main
()
example/example.go:27