Skip to content

Commit 0d3b7de

Browse files
committed
Allow setting the StrokeDashArray of the DrawingSettings to null.
1 parent b968a69 commit 0d3b7de

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/Magick.NET/Settings/DrawingSettings.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,8 @@ public IEnumerable<double>? StrokeDashArray
8181
{
8282
if (value is not null)
8383
_strokeDashArray = new List<double>(value).ToArray();
84+
else
85+
_strokeDashArray = null;
8486
}
8587
}
8688

0 commit comments

Comments
 (0)