Documentation
¶
Index ¶
- func ColorDodge(base, blend image.Image) *image.RGBA
- func DrawRoundedImage(dc *gg.Context, src []byte, x, y, w, h, r float64) error
- func DrawText(dc *gg.Context, tr *utils.TextRect)
- func GenerateBanner(t BannerType, title, subtitle string, images [][]byte) ([]byte, error)
- type BannerType
- type TemporaryText
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DrawRoundedImage ¶
func GenerateBanner ¶
func GenerateBanner(t BannerType, title, subtitle string, images [][]byte) ([]byte, error)
Types ¶
type BannerType ¶
type BannerType string
const ( Top5 BannerType = "top5" Rising BannerType = "rising" HiddenGems BannerType = "hidden_gems" Reopened BannerType = "reopened_slots" )
type TemporaryText ¶
type TemporaryText struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.