示例#1
0
 internal override void WriteXML(XmlWriter writer)
 {
     writer.WriteStartElement(ItemType.GetItemTypeElementString());
     writer.WriteAttributeString("id", '#' + Id.ToString());
     base.WriteXML(writer);
     writer.WriteEndElement();
 }
示例#2
0
 internal override void WriteXML(XmlWriter writer)
 {
     writer.WriteStartElement(ItemType.GetItemTypeElementString());
     for (int idx = 0; idx < EdgeList.Count; idx++)
     {
         EdgeList[idx].WriteXML(writer);
     }
     writer.WriteEndElement();
 }
示例#3
0
        internal override void WriteXML(XmlWriter writer)
        {
            writer.WriteStartElement(ItemType.GetItemTypeElementString());

            base.WriteXML(writer);
            writer.WriteStartElement("Orientation");
            writer.WriteString(Orientation ? "true" : "false");
            writer.WriteEndElement();

            writer.WriteEndElement();
        }
        internal override void WriteXML(XmlWriter writer)
        {
            writer.WriteStartElement(ItemType.GetItemTypeElementString());

            base.WriteXML(writer);
            writer.WriteStartElement("Axis");
            Axis.WriteXML(writer);
            writer.WriteEndElement();

            writer.WriteEndElement();
        }
示例#5
0
        internal override void WriteXML(XmlWriter writer)
        {
            writer.WriteStartElement("Type");
            writer.WriteString(ItemType.GetItemTypeElementString());
            writer.WriteEndElement();

            writer.WriteStartElement("Radius");
            writer.WriteString(Radius.ToString());
            writer.WriteEndElement();

            base.WriteXML(writer);
        }
示例#6
0
        internal override void WriteXML(XmlWriter writer)
        {
            writer.WriteStartElement("Type");
            writer.WriteString(ItemType.GetItemTypeElementString());
            writer.WriteEndElement();

            writer.WriteStartElement("Point");
            _point.WriteXML(writer);
            writer.WriteEndElement();

            _vector.WriteXML(writer);
        }
示例#7
0
        internal override void WriteXML(XmlWriter writer)
        {
            writer.WriteStartElement("Type");
            writer.WriteString(ItemType.GetItemTypeElementString());
            writer.WriteEndElement();

            writer.WriteStartElement("Degree");
            writer.WriteString(Degree.ToString());
            writer.WriteEndElement();

            writer.WriteStartElement("ControlPointsList");
            writer.WriteEndElement();

            //_vector.WriteXML(writer);
        }
示例#8
0
        internal override void WriteXML(XmlWriter writer)
        {
            writer.WriteStartElement("Type");
            writer.WriteString(ItemType.GetItemTypeElementString());
            writer.WriteEndElement();

            writer.WriteStartElement("Position");
            _position.WriteXML(writer);
            writer.WriteEndElement();

            writer.WriteStartElement("MajorAxis");
            writer.WriteString(SemiAxis1.ToString());
            writer.WriteEndElement();

            writer.WriteStartElement("MinorAxis");
            writer.WriteString(SemiAxis2.ToString());
            writer.WriteEndElement();
        }
示例#9
0
 internal override void WriteXML(XmlWriter writer)
 {
     writer.WriteStartElement(ItemType.GetItemTypeElementString());
     _direction.WriteXML(writer);
     writer.WriteEndElement();
 }