Versions in this module Expand all Collapse all v0 v0.0.3 Jul 26, 2021 v0.0.1 Jul 25, 2021 Changes in this version + type Box struct + Bottom float64 + Left float64 + Right float64 + Top float64 + func Mask(path string, width int, height int, exclude color.RGBA) []*Box + func (a *Box) String() string + type Option func(*Options) + func BackgroundColor(color color.Color) Option + func Colors(colors []color.Color) Option + func Debug() Option + func FontFile(path string) Option + func FontMaxSize(max int) Option + func FontMinSize(min int) Option + func Height(h int) Option + func MaskBoxes(mask []*Box) Option + func RandomPlacement(do bool) Option + func Width(w int) Option + type Options struct + BackgroundColor color.Color + Colors []color.Color + Debug bool + FontFile string + FontMaxSize int + FontMinSize int + Height int + Mask []*Box + RandomPlacement bool + Width int + type Wordcloud struct + func NewWordcloud(wordList map[string]int, options ...Option) *Wordcloud + func (w *Wordcloud) Draw() image.Image + func (w *Wordcloud) Place(wc wordCount) bool