public override void AddColorStop (object backend, double position, Xwt.Drawing.Color color) { GradientInfo gr = (GradientInfo) backend; gr.Colors.Add (color.ToCGColor ()); gr.Stops.Add ((float)position); }