BlackSaturationCurveEffect(CurveChannel, Int32) Constructor
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 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)
- 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.
blackSaturation
is less than 0 or greater than 254.
Producto | Versiones |
---|---|
.NET | 9 (package-provided) |
Windows Desktop | 9 |
Comentarios de .NET
.NET es un proyecto de código abierto. Seleccione un vínculo para proporcionar comentarios: