Open
Description
I see there was a pull request #150 way back in the day, but I'm not sure:
-
whether that's supposed to work from .NET Standard (since the code mostly seems to reside within
SvgColourConverter
, which is not supported in Standard) -
whether that's just for parsing HSL from existing SVG, or also offers functionality to set HSL colors.
I can set an RGB color from System.Drawing:
SvgPath path = new SvgPath
{
Fill = new SvgColourServer(System.Drawing.Color.DarkCyan),
PathData = SvgPathBuilder.Parse(pathData)
};
And I can set HSL in SVG:
fill: hsl(90, 100%, 50%);
Is there supposed to be an API that will combine the two, e.g.:
SvgPath path = new SvgPath
{
Fill = SvgColor.FromHsl(90, 100, 50),
PathData = SvgPathBuilder.Parse(pathData)
};