Documentation
¶
Index ¶
- type Box
- type Option
- func BackgroundColor(color color.Color) Option
- func Colors(colors []color.Color) Option
- func Debug() Option
- func Font(file io.Reader) Option
- func FontMaxSize(max int) Option
- func FontMinSize(min int) Option
- func Height(h int) Option
- func Logo(file io.Reader) Option
- func MaskBoxes(mask []*Box) Option
- func RandomPlacement(do bool) Option
- func Width(w int) Option
- type Options
- type Wordcloud
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Box ¶
type Wordcloud ¶
type Wordcloud struct {
// contains filtered or unexported fields
}
Wordcloud object. Create one with NewWordcloud and use Draw() to get the image
func NewWordcloud ¶
Initialize a wordcloud based on a map of word frequency.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.