Modifica

Condividi tramite


BlackSaturationCurveEffect(CurveChannel, Int32) Constructor

Definition

Creates a new BlackSaturationCurveEffect with the given parameters.

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

Parameters

channel
CurveChannel

The channel or channels that the effect is applied to.

blackSaturation
Int32

A value of t specifies that the interval [t, 255] is mapped linearly to the interval [0, 255]. For example, if

blackSaturation is equal to 15, then color channel values in the interval [15, 255] are adjusted

so that they spread out over the interval [0, 255]. Color channel values less than 15 are set to 0.

Exceptions

blackSaturation is less than 0 or greater than 254.

Applies to