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

This commit is contained in:
2026-07-08 15:22:05 +08:00
parent cc0a627a3c
commit 27a5da45ec
5 changed files with 0 additions and 95 deletions
-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 颜色对象