ShadowCurveEffect(CurveChannel, Int32) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Creates a new ShadowCurveEffect with the given shadow adjustment value.
public:
ShadowCurveEffect(System::Drawing::Imaging::Effects::CurveChannel channel, int shadow);
public ShadowCurveEffect (System.Drawing.Imaging.Effects.CurveChannel channel, int shadow);
new System.Drawing.Imaging.Effects.ShadowCurveEffect : System.Drawing.Imaging.Effects.CurveChannel * int -> System.Drawing.Imaging.Effects.ShadowCurveEffect
Public Sub New (channel As CurveChannel, shadow As Integer)
Parameters
- channel
- CurveChannel
The channel or channels that the effect is applied to.
- shadow
- Int32
A value in the range of -100 through 100 that specifies the shadow adjustment value. A value of 0 specifies no change. Positive values specify that the
dark areas are made lighter, and negative values specify that the dark areas are made darker.
Exceptions
shadow
is less than -100 or greater than 100.