Exemplo n.º 1
0
 public TextShape(string caption, Rectangle rect, LeSerializableShape parent)
     : base(rect)
 {
     this.parent = parent;
     Initialize(caption, rect);
     CalculateBoundary();
 }
Exemplo n.º 2
0
 protected void AddShape(BaseShape ob)
 {
     xmlShapes.Add(ob);
     if (ob is AreaShape)
     {
         LeSerializableShape friend = (ob as AreaShape).TextField;
         xmlShapes.Add(friend);
         ob.FriendIndex = friend.Index;
     }
 }