Exemplo n.º 1
0
        public override void Load(DocumentReader reader)
        {
            base.Load(reader);
            Name = reader.ReadString();
            int count = reader.ReadInt();

            for (int i = 0; i < count; i++)
            {
                Drawable item = reader.ReadPersistable <Drawable>();
                items.Add(item);
            }
        }
Exemplo n.º 2
0
 public void Load(DocumentReader reader)
 {
     Color      = reader.ReadColor();
     LineWeight = reader.ReadFloat();
     DashStyle  = (DashStyle)reader.ReadInt();
 }