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

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