Exemple #1
0
 private static int GetMaxXCoordinate(this ILayoutCreator layoutCreator)
 {
     return(layoutCreator.GetAllRectangles().Max(r => r.X + r.Width));
 }
Exemple #2
0
 private static int GetMinYCoordinate(this ILayoutCreator layoutCreator)
 {
     return(layoutCreator.GetAllRectangles().Min(r => r.Y));
 }