feat(图像绘制): 默认黑色描边

This commit is contained in:
xiaoqidun committed 2026-06-30 21:56:45 +08:00
1 parent 60746eb825
commit 8396f1d0dc
1 file changed
+1 -1
+1 -1
View File
@@ -664,7 +664,7 @@ func (r *Renderer) renderPath(ctx *canvas.Context, obj PathObject, pageH float64
strokePaint = strokeColor
}
if strokePaint == nil {
strokePaint = color.Transparent
strokePaint = colorWithAlpha(canvas.Black, obj.Alpha)
}
ctx.SetFillColor(canvas.Transparent)
ctx.SetStroke(strokePaint)