From b23804f99e9b3dcbcb059057969cc574d8a25de5 Mon Sep 17 00:00:00 2001 From: jkuehner Date: Tue, 19 Aug 2025 11:42:43 +0200 Subject: [PATCH] fix for #112 --- Source/SVGImage/SVG/Shapes/Shape.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Source/SVGImage/SVG/Shapes/Shape.cs b/Source/SVGImage/SVG/Shapes/Shape.cs index a44f6ed..e933f66 100644 --- a/Source/SVGImage/SVG/Shapes/Shape.cs +++ b/Source/SVGImage/SVG/Shapes/Shape.cs @@ -488,6 +488,7 @@ private Stroke GetStroke(SVG svg) if (this.m_stroke == null) { this.m_stroke = new Stroke(svg); + this.m_stroke.PaintServerKey = svg.PaintServers.Parse("black"); } return this.m_stroke; @@ -498,6 +499,7 @@ protected Fill GetFill(SVG svg) if (this.m_fill == null) { this.m_fill = new Fill(svg); + this.m_fill.PaintServerKey = svg.PaintServers.Parse("black"); } return this.m_fill;