sourcedata

package
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 13, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GraphImage

type GraphImage struct {
	// 遮盖图片
	OverlayImage image.Image
	// 背影图片
	ShadowImage image.Image
	// 遮罩图片
	MaskImage image.Image
}

type ResourcesFile

type ResourcesFile struct {
}

ResourcesFile 源始文件资源

func NewResourcesFile

func NewResourcesFile() *ResourcesFile

func (*ResourcesFile) GetAlphaChars

func (sf *ResourcesFile) GetAlphaChars() []string

func (*ResourcesFile) GetChineseChars

func (sf *ResourcesFile) GetChineseChars() []string

func (*ResourcesFile) GetFonts

func (sf *ResourcesFile) GetFonts() (fonts []*truetype.Font, err error)

func (*ResourcesFile) GetImages

func (sf *ResourcesFile) GetImages() ([]image.Image, error)

func (*ResourcesFile) GetShapeMaps

func (sf *ResourcesFile) GetShapeMaps() (maps map[string]image.Image, err error)

func (*ResourcesFile) GetThumbImages

func (sf *ResourcesFile) GetThumbImages() ([]image.Image, error)

func (*ResourcesFile) GetTileImages

func (sf *ResourcesFile) GetTileImages() (images []*GraphImage, err error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL