Edit

Share via


HighlightCurveEffect(CurveChannel, Int32) Constructor

Definition

Creates a new HighlightCurveEffect with the given highlight adjustment.

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

Parameters

channel
CurveChannel

The channel or channels that the effect is applied to.

highlight
Int32

A value in the range of -100 through 100 that specifies the highlight value. A value of 0 specifies no change. Positive values specify that the light areas are made lighter, and negative values specify that the light areas are made darker.

Applies to