Documentation ¶
Index ¶
- type Image
- func (g Image) AddImage(path string, x, y int) error
- func (g Image) AddUniformImage(width, height int, color color.Color, x, y int)
- func (g Image) Encode(dst io.Writer) error
- func (g Image) Save(path string) error
- func (g *Image) SetBackGroundImage(path string) error
- func (g Image) WriteText(txt string, color color.Color, size float64, x, y int) error
- func (g Image) WriteTextFont(fontFile, txt string, color color.Color, size float64, x, y int) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Image ¶
type Image struct {
// contains filtered or unexported fields
}
func (Image) AddUniformImage ¶
AddUniformImage adds an uniform image with the given color and size
func (*Image) SetBackGroundImage ¶
SetBackGroundImage adds an image to the main goImage with the goImage bounds
Click to show internal directories.
Click to hide internal directories.