You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you use a radial gradient server with cx = 0 or cy = 0 the library won't persist the attributes when writing to a file because SvgDefaults.IsDefault will return true.
I'm guessing that these defaults where intended for SvgCircle, and this happens because the SvgRadialGradientServer attributes have the same name (the defaults for SvgRadialGradientServer are 50% for both cx and cy).
Perhaps the Dictionary in SvgDefaults could be something like Dictionary<Type,Dictionary<string,string>>, so the Type could be taken into account when searching for defaults? Or any class with default values could handle it's own defaults...
The text was updated successfully, but these errors were encountered:
If you use a radial gradient server with cx = 0 or cy = 0 the library won't persist the attributes when writing to a file because SvgDefaults.IsDefault will return true.
I'm guessing that these defaults where intended for SvgCircle, and this happens because the SvgRadialGradientServer attributes have the same name (the defaults for SvgRadialGradientServer are 50% for both cx and cy).
Perhaps the Dictionary in SvgDefaults could be something like Dictionary<Type,Dictionary<string,string>>, so the Type could be taken into account when searching for defaults? Or any class with default values could handle it's own defaults...
The text was updated successfully, but these errors were encountered: