Documentation ¶
Index ¶
Constants ¶
View Source
const Version = "0.0.1 beta"
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Avatar ¶
type Avatar struct { Size int FontSize int Font string Background string Color string Ext string // contains filtered or unexported fields }
Avatar avatar
type Color ¶
type Color struct {
R, G, B float64
}
A color is stored internally using sRGB (standard RGB) values in the range 0-1
type Drawer ¶
type Drawer struct {
// contains filtered or unexported fields
}
func (*Drawer) DrawToBytes ¶
DrawToBytes draw image data to []byte
Click to show internal directories.
Click to hide internal directories.