Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewGridImage ¶
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ * 获取网格图实例 * ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Types ¶
type GridItem ¶
type GridItem struct {
Title string
Path string
Words []string
Filenames []int
SelectedIndexs []int
}
================================================================================ * 网格图片 * qq group: 582452342 * email : [email protected] * author : 美丽的地球啊 - mliu * ================================================================================
type IImage ¶
type IImage interface {
GetText() []string
GetImage() ([]byte, error)
SetOption(ImageOption)
}
================================================================================ * 五线谱图片 * qq group: 582452342 * email : [email protected] * author : 美丽的地球啊 - mliu * ================================================================================
func NewMusicImage ¶
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ * 初始化五线谱图 * ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
type ImageOption ¶
type ImageOption struct {
HeaderHeight int
CellWidth int
CellHeight int
Gap int
Padding int
Backgroud string
FontPath string
FontSize float64
}
================================================================================ * 五线谱图片 * qq group: 582452342 * email : [email protected] * author : 美丽的地球啊 - mliu * ================================================================================