Documentation
¶
Index ¶
Constants ¶
View Source
const FillLength = 224
View Source
const FontUrl = "https://raw.githubusercontent.com/hellflame/terminal_printer/" +
"808004a7cd41b4383bfe6aa310c491c69d9b2556/fonts/"
View Source
const VERSION = "v1.0.1"
Variables ¶
View Source
var DefaultFonts = []string{"shuyan.ttf", "letter.ttf",
"Haibaoyuanyuan.ttf", "fengyun.ttf"}
View Source
var DefaultHeight = 80
View Source
var DefaultWidth = 50
View Source
var FillBytes []int
View Source
var FontBase string
View Source
var IsShabby = false
Functions ¶
func Clip ¶
Clip will clip text image to right size for golang doesn't have any direct way to get render string size
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.