SwfDotNet.IO.Tags.Types.RGB.Serialize C# (CSharp) Method

Serialize() public method

Serializes the specified writer.
public Serialize ( XmlWriter writer ) : void
writer System.Xml.XmlWriter Writer.
return void
        public override void Serialize(XmlWriter writer)
        {
            writer.WriteStartElement("RGB");
            writer.WriteAttributeString("Red", this.red.ToString());
            writer.WriteAttributeString("Green", this.green.ToString());
            writer.WriteAttributeString("Blue", this.blue.ToString());
            writer.WriteEndElement();
        }