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

Levels Constructor (Boolean[], HistogramMode)

Create and initializes new Levels class instance. Here you can specify what 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(), _
	histogramMode As HistogramMode _
)
C#
public Levels(
	bool[] channels,
	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.
histogramMode

Type: Aurigma.GraphicsMill.HistogramMode

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

See Also

Reference