2
// <copyright see="prj:///doc/copyright.txt"/>
3
// <license see="prj:///doc/license.txt"/>
4
// <owner name="Mike Krüger" email="mike@icsharpcode.net"/>
5
// <version value="$version"/>
10
using System.Diagnostics;
11
using System.Collections.Specialized;
12
using System.Collections;
13
using System.Globalization;
15
using System.Reflection;
18
namespace MonoDevelop.TextEditor.Document
21
/// Extens the highlighting color with a background image.
23
public class HighlightBackground : HighlightColor
25
Image backgroundImage;
28
/// The image used as background
30
public Image BackgroundImage {
32
return backgroundImage;
37
/// Creates a new instance of <see cref="HighlightBackground"/>
39
public HighlightBackground(XmlElement el) : base(el)
41
if (el.Attributes["image"] != null) {
42
backgroundImage = new Bitmap(el.Attributes["image"].InnerText);
47
/// Creates a new instance of <see cref="HighlightBackground"/>
49
public HighlightBackground(Color color, Color backgroundcolor, bool bold, bool italic) : base(color, backgroundcolor, bold, italic)
53
public HighlightBackground(string systemColor, string systemBackgroundColor, bool bold, bool italic) : base(systemColor, systemBackgroundColor, bold, italic)