This documentation is for the old version. Go to the latest Graphics Mill docs

Levels Constructor (Single, Single, Single, Single, Single, HistogramMode)

Create and initializes new Levels class instance. Here you can specify all the levels adjustment settings. Besides of this, you can initialize HistogramMode property.

Namespace: Aurigma.GraphicsMill.Transforms
Assembly: Aurigma.GraphicsMill (in Aurigma.GraphicsMill.dll)

Syntax

Visual Basic
Public Sub New ( _
	minimumLevel As Single, _
	maximumLevel As Single, _
	shadows As Single, _
	midtones As Single, _
	highlights As Single, _
	histogramMode As HistogramMode _
)
C#
public Levels(
	float minimumLevel,
	float maximumLevel,
	float shadows,
	float midtones,
	float highlights,
	HistogramMode histogramMode
)

Parameters

minimumLevel

Type: System.Single

Value in range [0, 1] that specifies minimum output level. You can change it later using MinimumLevel property.
maximumLevel

Type: System.Single

Value in range [0, 1] that specifies maximum output level. You can change it later using MaximumLevel property.
shadows

Type: System.Single

Value in range [0, 1] that contains shadows level modifier. You can change it later using Shadows property.
midtones

Type: System.Single

Value in range [0.1, 10] that contains midtones modifier. You can change it later using Midtones property.
highlights

Type: System.Single

Value in range [0, 1] that contains highlights level modifier. You can change it later using Highlights property.
histogramMode

Type: Aurigma.GraphicsMill.HistogramMode

HistogramMode value specifying how to build the histogram. You can change it later using HistogramMode property.

See Also

Reference