Exemplo n.º 1
0
 public void DumpShapeData(XmlWriter xw)
 {
     for (int i = 0; i < Shapes.Count; i++)
     {
         Shape2D sh = Shapes[i];
         sh.Dump(xw);
     }
 }
Exemplo n.º 2
0
 public void DumpShapeData(StringWriter sw)
 {
     for (int i = 0; i < Shapes.Count; i++)
     {
         Shape2D sh = Shapes[i];
         sh.Dump(sw);
         if (i < Shapes.Count - 1)
         {
             sw.Write(",");
         }
     }
 }
Exemplo n.º 3
0
        public void DumpShapes(StringWriter sw)
        {
            sw.WriteLine("          " + this.DefinitionName + ":");
            sw.WriteLine("          [");

            for (int i = 0; i < Shapes.Count; i++)
            {
                Shape2D sh = Shapes[i];
                sw.Write("            ");
                sh.Dump(sw);
                if (i < Shapes.Count - 1)
                {
                    sw.Write(",");
                }
                sw.WriteLine("");
            }
            sw.WriteLine("          ]");
        }