示例#1
0
        public float SaveSpace(OverlapEntry <T> other)
        {
            var mr = WidthPosition + WidthSpace;
            var or = other.WidthPosition + other.WidthSpace;

            if (WidthPosition >= or || mr <= other.WidthPosition)
            {
                return(0);
            }
            else
            {
                return(other.LeftSpace);
            }
        }
示例#2
0
 public void Add(OverlapEntry <T> entry)
 {
     newConfig.Add(entry);
 }