Skip to content

Commit 11d2de8

Browse files
authored
Merge pull request #113 from dotnetprojects/fix112
fix for #112
2 parents 9d774fa + b23804f commit 11d2de8

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Source/SVGImage/SVG/Shapes/Shape.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -488,6 +488,7 @@ private Stroke GetStroke(SVG svg)
488488
if (this.m_stroke == null)
489489
{
490490
this.m_stroke = new Stroke(svg);
491+
this.m_stroke.PaintServerKey = svg.PaintServers.Parse("black");
491492
}
492493

493494
return this.m_stroke;
@@ -498,6 +499,7 @@ protected Fill GetFill(SVG svg)
498499
if (this.m_fill == null)
499500
{
500501
this.m_fill = new Fill(svg);
502+
this.m_fill.PaintServerKey = svg.PaintServers.Parse("black");
501503
}
502504

503505
return this.m_fill;

0 commit comments

Comments
 (0)