Documentation
¶
Overview ¶
Package image generates images containing a logo and some text below.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Params ¶
type Params struct {
Logo string // Filepath to a logo for the top half of the image.
Text string // Text to display below the logo.
Font string // Filepath to the TrueType font used for the text.
Foreground color.Color // Color for the text.
Background color.Color // Color for the background.
Width int // Width of the image in pixels.
Height int // Height of the image in pixels.
}
Params contains the parameters that describe an image. They are all required for image creation.
Click to show internal directories.
Click to hide internal directories.