Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BackgroundType ¶ added in v0.1.3
type BackgroundType struct {
Color string `json:"color" yaml:"color"`
}
type Config ¶
type Config struct { Text string `json:"text" yaml:"text"` Wrap bool `json:"wrap" yaml:"wrap"` Color string `json:"color" yaml:"color"` Background BackgroundType `json:"background" yaml:"background"` Font string `json:"font,omitempty" yaml:"font,omitempty"` Size float64 `json:"size,omitempty" yaml:"size,omitempty"` }
func ParseConfig ¶
func (*Config) GenerateImage ¶
Click to show internal directories.
Click to hide internal directories.