Exemple #1
0
 public double GetCenterLeftOfChildNode()
 {
     if (ChildNodes.Count > 0)
     {
         return(ChildNodes.Average(q => q.Left));
     }
     return(0);
 }
Exemple #2
0
 public double GetCenterTopOfChildNode()
 {
     if (ChildNodes.Count > 0)
     {
         return(ChildNodes.Average(q => q.Top));
     }
     return(0);
 }