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); } }
public void Add(OverlapEntry <T> entry) { newConfig.Add(entry); }