diff --git a/vector_renderer.go b/vector_renderer.go index eb2fc83..8865c61 100644 --- a/vector_renderer.go +++ b/vector_renderer.go @@ -140,7 +140,7 @@ func (vr *vectorRenderer) ArcTo(cx, cy int, rx, ry, startAngle, delta float64) { // Close closes a shape. func (vr *vectorRenderer) Close() { - vr.p = append(vr.p, fmt.Sprintf("Z")) + vr.p = append(vr.p, "Z") } // Stroke draws the path with no fill.