示例#1
0
 public static void OneColumn <TItem, TEdge> (this Aligner <TItem, TEdge> aligner, IEnumerable <TItem> items, AlignerOptions options) where TEdge : IEdge <TItem>, TItem
 {
     if (items.Count() < 2)
     {
         return;
     }
     aligner.OneColumn(items, aligner.Locator.GetLocation(items.First()), options);
 }
示例#2
0
 public static void OneColumn <TItem, TEdge> (this Aligner <TItem, TEdge> aligner, IEnumerable <TItem> items, Point at, AlignerOptions options) where TEdge : IEdge <TItem>, TItem
 {
     aligner.OneColumn(items, at, options);
 }