public static GradientView ToNativeView(this MultiGradient target, CGRect frame)
 {
     return(new GradientView(target)
     {
         Frame = frame
     });
 }
 public GradientLayer(Gradient[] gradients)
 {
     this.multiGradient = new MultiGradient()
     {
         Gradients = gradients
     };
     Type = GradientType.Multi;
     Initalize();
 }
Beispiel #3
0
 public GradientView(Gradient[] gradients)
 {
     this.multiGradient = new MultiGradient()
     {
         Gradients = gradients
     };
     Type            = GradientType.Multi;
     BackgroundColor = UIColor.Clear;
 }
 public static GradientDrawable Draw(this MultiGradient target, RectF bounds)
 {
     return(null);
 }
 public GradientLayer(MultiGradient gradient)
 {
     this.multiGradient = gradient;
     Type = GradientType.Multi;
     Initalize();
 }
Beispiel #6
0
 public GradientView(MultiGradient gradient)
 {
     this.multiGradient = gradient;
     Type            = GradientType.Multi;
     BackgroundColor = UIColor.Clear;
 }
 public static void Draw(this MultiGradient target, CGContext ctx, CGRect bounds)
 {
     target.Gradients.Draw(ctx, bounds);
 }