This commit is contained in:
parent
21305fb6c9
commit
3f9712b909
@ -21,7 +21,12 @@ namespace Volian.Svg.Library
|
|||||||
[XmlIgnore]
|
[XmlIgnore]
|
||||||
public Color FillColor
|
public Color FillColor
|
||||||
{
|
{
|
||||||
get { return Svg.OverrideColor != System.Drawing.Color.Empty ? Svg.OverrideColor : _MyFillSettings.FillColor; }
|
get
|
||||||
|
{
|
||||||
|
if (_MyFillSettings.Fill.ToUpper() == "NONE") return _MyFillSettings.FillColor;
|
||||||
|
return Svg.OverrideColor != System.Drawing.Color.Empty ? Svg.OverrideColor : _MyFillSettings.FillColor;
|
||||||
|
}
|
||||||
|
|
||||||
set { _MyFillSettings.FillColor = value; }
|
set { _MyFillSettings.FillColor = value; }
|
||||||
}
|
}
|
||||||
#endregion
|
#endregion
|
||||||
|
Loading…
x
Reference in New Issue
Block a user