mirror of
https://github.com/xiaoqidun/ofdgo.git
synced 2026-08-30 12:12:40 +08:00
feat(图像绘制): 默认黑色描边
This commit is contained in:
+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