Documentation ¶
Index ¶
- func CalRotation(index int, startIndex int) int
- func DrawBackground(imgSize int, image draw.Image)
- func DrawGithubIdenticon(identicon model.Identicon, outputDir string, imgSize int, padding int) draw.Image
- func DrawIdenticon(identicon model.Identicon, outputDir string, imgSize int, padding int, ...) draw.Image
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CalRotation ¶
func DrawGithubIdenticon ¶
func DrawIdenticon ¶
func DrawIdenticon(identicon model.Identicon, outputDir string, imgSize int, padding int, muliColor bool) draw.Image
Draw full identicon with desired size and then save into outputDir
Image will use idenInfo as it name ¶
ex: idenInfo is "stoicmeme" and use PNG format, then image will be drawed to outputDir/storicmeme.png
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.