Ejemplo n.º 1
0
 private IEnumerable <Rectangle> GetSuitableRectangles(Point nextPoint, Size rectangleSize)
 {
     return(RectangleExtension
            .CreateRectangles(nextPoint, rectangleSize)
            .Where(CanPut));
 }