C# (CSharp) Smrf.NodeXL.Layouts RectangleBinner - 8 examples found. These are the top rated real world C# (CSharp) examples of Smrf.NodeXL.Layouts.RectangleBinner extracted from open source projects. You can rate examples to help us improve the quality of examples.
A bin is a small square that fits into a parent rectangle. This class splits the parent into consecutive bins, running from left to right along the bottom of the parent and then moving up a row.
Pass the parent rectangle to the constructor, along with the length of the bin. Call TryGetNextBin to get the next bin, and call to get any space not occupied by the returned bins.