Example #1
0
 public override void WriteXml(XmlWriter writer)
 {
     writer.WriteAttributeString("r", Red.ToStringRoundtrip());
     writer.WriteAttributeString("g", Green.ToStringRoundtrip());
     writer.WriteAttributeString("b", Blue.ToStringRoundtrip());
     writer.WriteAttributeString("a", Alpha.ToStringRoundtrip());
 }