refactor(清理代码): 增加可维护性
build.yaml / build (push) Successful in 33s

This commit is contained in:
xiaoqidun committed 2026-07-08 15:22:05 +08:00
1 parent cc0a627a3c
commit 27a5da45ec
5 files changed
-95

No files matched your search

-7
View File
@@ -22,13 +22,6 @@ import (
"github.com/tdewolff/canvas"
)
// parseColor 解析颜色字符串
// 入参: val 颜色值(R G B)
// 返回: color.Color 颜色对象
func parseColor(val string) color.Color {
return parseColorWithAlpha(val, nil)
}
// parseColorWithAlpha 解析带透明度的颜色
// 入参: val 颜色值, alpha 透明度
// 返回: color.Color 颜色对象