Example #1
0
        public static XElement ToXml(SolidFillStyleRGBA fillStyle)
        {
            var res = new XElement(SOLID);

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