Initializes a new instance of the SpanGradientFormatter class

Namespace: Lucene.Net.Highlight
Assembly: Lucene.Net.Contrib.Highlighter (in Lucene.Net.Contrib.Highlighter.dll) Version: 2.3.2.1

Syntax

C#
public SpanGradientFormatter(
	float maxScore,
	string minForegroundColor,
	string maxForegroundColor,
	string minBackgroundColor,
	string maxBackgroundColor
)
Visual Basic
Public Sub New ( _
	maxScore As Single, _
	minForegroundColor As String, _
	maxForegroundColor As String, _
	minBackgroundColor As String, _
	maxBackgroundColor As String _
)
Visual C++
public:
SpanGradientFormatter(
	float maxScore, 
	String^ minForegroundColor, 
	String^ maxForegroundColor, 
	String^ minBackgroundColor, 
	String^ maxBackgroundColor
)

Parameters

maxScore
Type: System..::..Single

[Missing <param name="maxScore"/> documentation for "M:Lucene.Net.Highlight.SpanGradientFormatter.#ctor(System.Single,System.String,System.String,System.String,System.String)"]

minForegroundColor
Type: System..::..String

[Missing <param name="minForegroundColor"/> documentation for "M:Lucene.Net.Highlight.SpanGradientFormatter.#ctor(System.Single,System.String,System.String,System.String,System.String)"]

maxForegroundColor
Type: System..::..String

[Missing <param name="maxForegroundColor"/> documentation for "M:Lucene.Net.Highlight.SpanGradientFormatter.#ctor(System.Single,System.String,System.String,System.String,System.String)"]

minBackgroundColor
Type: System..::..String

[Missing <param name="minBackgroundColor"/> documentation for "M:Lucene.Net.Highlight.SpanGradientFormatter.#ctor(System.Single,System.String,System.String,System.String,System.String)"]

maxBackgroundColor
Type: System..::..String

[Missing <param name="maxBackgroundColor"/> documentation for "M:Lucene.Net.Highlight.SpanGradientFormatter.#ctor(System.Single,System.String,System.String,System.String,System.String)"]

See Also