mirror of
https://github.com/xiaoqidun/ofdgo.git
synced 2026-10-29 16:59:27 +08:00
feat(图像绘制): 默认黑色描边
This commit is contained in:
1 parent
60746eb825
commit
8396f1d0dc
1 file changed
+1
-1
+1
-1
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user