Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ImageData ¶
type ImageData struct { BgImgPath string // path to the image to add the text on BgImage image.Image // image data load from file FontPath string // path to a .ttf file containgin the font of the text (always needed) FontSize float64 // size of the text i.e. 20 Text string // X float64 // the X coordinate of the text Y float64 // the Y coorginate of the text Color color.Color // font color OutputImage image.Image // output image with the text }
Click to show internal directories.
Click to hide internal directories.