Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AvatarOptions ¶
type AvatarOptions interface {
// contains filtered or unexported methods
}
type Circle ¶
type Circle struct {
// contains filtered or unexported fields
}
func (*Circle) ColorModel ¶
type Color ¶
type Color struct {
colorful.Color
}
func MustParseHex ¶
This is a very nice thing Golang forces you to do! It is necessary so that we can write out the literal of the colortable below.
type GradientTable ¶
This table contains the "keypoints" of the colorgradient you want to generate. The position of each keypoint has to live in the range [0,1]
type Initials ¶
type Initials struct {
// contains filtered or unexported fields
}
func NewAvatarFromInitials ¶
func NewAvatarFromInitials(text string, options *InitialsOptions) (*Initials, error)
type InitialsOptions ¶
type Picture ¶
type Picture struct {
// contains filtered or unexported fields
}
func NewAvatarFromPic ¶
func NewAvatarFromPic(pic []byte, options *PictureOptions) (*Picture, error)
type PictureOptions ¶
Click to show internal directories.
Click to hide internal directories.