Example #1
0
 public static void Tint(this CAGradientLayer This, UIColor[] colors)
 {
     This.SkeletonSublayers()
     .RecursiveSearch(() =>
     {
         This.Colors = colors.Select(c => c.CGColor).ToArray();
     }, layer =>
     {
         layer.Tint(colors);
     });
 }