Documentation ¶ Index ¶ func RandColor(co []color.Color) color.RGBA func RandFont(fonts []*truetype.Font) *truetype.Font func RandHexColor(colors []string) string func RandImage(images []image.Image) image.Image func RandString(chars []string) string func RangCutImagePos(width int, height int, img image.Image) image.Point Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func RandColor ¶ func RandColor(co []color.Color) color.RGBA RandColor is a random RGBA color func RandFont ¶ func RandFont(fonts []*truetype.Font) *truetype.Font RandFont is a random font func RandHexColor ¶ func RandHexColor(colors []string) string RandHexColor is a random color func RandImage ¶ func RandImage(images []image.Image) image.Image RandImage is a random image func RandString ¶ func RandString(chars []string) string RandString is a random string func RangCutImagePos ¶ func RangCutImagePos(width int, height int, img image.Image) image.Point RangCutImagePos is a random image position Types ¶ This section is empty. Source Files ¶ View all Source files randgen.go Click to show internal directories. Click to hide internal directories.