Mono.TextEditor.TextViewMargin.LayoutWrapper.AddBackground C# (CSharp) Method

AddBackground() public method

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