public override void DumpBody(XmlWriter writer) { if (SwfDumpService.DumpDisplayListTags) { writer.WriteElementString("cid", CharId.ToString()); writer.WriteElementString("depth", Depth.ToString()); } }
public override void DumpBody(XmlWriter writer) { if (SwfDumpService.DumpDisplayListTags) { writer.WriteElementString("cid", CharId.ToString()); writer.WriteElementString("depth", Depth.ToString()); writer.WriteElementString("matrix", Matrix.GetMatrixString()); if (ColorTransform != null) { ColorTransform.Dump(writer, false); } } }
public void Dump(XmlWriter writer, SwfTagCode tagCode) { writer.WriteStartElement("button"); writer.WriteAttributeString("id", CharId.ToString()); writer.WriteAttributeString("depth", PlaceDepth.ToString()); writer.WriteElementString("matrix", PlaceMatrix.GetMatrixString()); ColorTransform.Dump(writer, HasAlpha(tagCode)); if (_filters.Count > 0) { _filters.Dump(writer); } if ((State & SwfButtonState.HasBlendMode) != 0) { writer.WriteElementString("blend-mode", BlendMode.ToString()); } writer.WriteEndElement(); }