public void AddBackground (Cairo.Color color, int fromIdx, int toIdx) { if (backgroundColors == null) backgroundColors = new List<BackgroundColor> (); BackgroundColors.Add (new BackgroundColor (color, fromIdx, toIdx)); }