klala

package
v0.0.0-...-6f4fb14 Latest Latest
Warning

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

Go to latest
Published: Oct 10, 2023 License: AGPL-3.0 Imports: 24 Imported by: 0

Documentation

Overview

Package klala 星穹铁道

Package klala 星穹铁道

Index

Constants

View Source
const (
	NameFont = "data/klala/kkk/font/NZBZ.ttf"                    // NameFont 名字字体
	FontFile = "data/klala/kkk/font/SourceHanMonoSC-HeavyIt.ttf" // FontFile 汉字字体
	FiFile   = "data/klala/kkk/font/tttgbnumber.ttf"             // FiFile 其余字体(数字英文)
	BaFile   = "data/klala/kkk/font/STLITI.TTF"                  // BaFile 华文隶书版本版本号字体

)

Variables

This section is empty.

Functions

func Ftoone

func Ftoone(f float64) string

Ftoone 保留一位小数并转化string

func Polygon

func Polygon(n int) []gg.Point

Polygon 画多边形

func Yinying

func Yinying(x int, y int, r float64, c color.Color) image.Image

Yinying 绘制阴影 圆角矩形

Types

type FindMap

type FindMap struct {
	Characters map[string][]string `json:"characters"`
	LightCones map[string][]string `json:"light_cones"`
}

FindMap 各种简称map查询

Jump to

Keyboard shortcuts

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