コード例 #1
0
 public static void Distribute(this LayoutBuilder layout, RectangleF bounds, DistributionDirection direction,
                               params PlatformView[] views)
 {
     if (direction == DistributionDirection.Horizontal)
     {
         layout.DistributeHorizontally(bounds, views);
     }
     else
     {
         layout.DistributeVertically(bounds, views);
     }
 }
コード例 #2
0
 public static void DistributeHorizontally(this LayoutBuilder layout, params PlatformView[] views)
 {
     layout.DistributeHorizontally(layout.PaddedOuterBounds, views);
 }