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

Levels Constructor (Boolean[], Single, Single, Single, Single, Single, HistogramMode)

Create and initializes new Levels class instance. Here you can specify all the levels adjustment settings as well as channels to process with this transform. 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 ( _
	channels As Boolean(), _
	minimumLevel As Single, _
	maximumLevel As Single, _
	shadows As Single, _
	midtones As Single, _
	highlights As Single, _
	histogramMode As HistogramMode _
)
C#
public Levels(
	bool[] channels,
	float minimumLevel,
	float maximumLevel,
	float shadows,
	float midtones,
	float highlights,
	HistogramMode histogramMode
)

Parameters

channels

Type: System.Boolean []

Array of flags specifying what channels to apply effect at. If array item is true, transform will be applied at channel with appropriate index. Otherwise this channel is skipped. You can change to this array later through the property Channels.
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