public static XElement ToXml(SolidFillStyleRGBA fillStyle) { var res = new XElement(SOLID); res.Add(new XElement("color", XColorRGBA.ToXml(fillStyle.Color))); return(res); }
public static void AreEqual(SolidFillStyleRGBA expected, SolidFillStyleRGBA actual, string message) { AssertColors.AreEqual(expected.Color, actual.Color, "Color"); }
public static XElement ToXml(SolidFillStyleRGBA fillStyle) { var res = new XElement(SOLID); res.Add(new XElement("color", XColorRGBA.ToXml(fillStyle.Color))); return res; }