ExposureCurveEffect(CurveChannel, Int32) Constructor

Definition

Creates a new ExposureCurveEffect with the given exposure adjustment.

public:
 ExposureCurveEffect(System::Drawing::Imaging::Effects::CurveChannel channel, int exposure);
public ExposureCurveEffect (System.Drawing.Imaging.Effects.CurveChannel channel, int exposure);
new System.Drawing.Imaging.Effects.ExposureCurveEffect : System.Drawing.Imaging.Effects.CurveChannel * int -> System.Drawing.Imaging.Effects.ExposureCurveEffect
Public Sub New (channel As CurveChannel, exposure As Integer)

Parameters

channel
CurveChannel

The channel or channels that the effect is applied to.

exposure
Int32

A value in the range of -256 through 256 that specifies the exposure. A value of 0 specifies no change in exposure. Positive values specify increased exposure and negative values specify decreased exposure.

Exceptions

exposure is less than -256 or greater than 256.

Applies to