Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

MidtoneCurveEffect Class

Definition

Namespace:
System.Drawing.Imaging.Effects
Assembly:
System.Drawing.Common.dll
Package:
System.Drawing.Common v11.0.0-preview.5.26302.115
Source:
MidtoneCurveEffect.cs
Source:
MidtoneCurveEffect.cs
Source:
MidtoneCurveEffect.cs
Source:
MidtoneCurveEffect.cs
Source:
MidtoneCurveEffect.cs
Source:
MidtoneCurveEffect.cs

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.

Lightens or darkens an image.

public ref class MidtoneCurveEffect : System::Drawing::Imaging::Effects::ColorCurveEffect
public class MidtoneCurveEffect : System.Drawing.Imaging.Effects.ColorCurveEffect
type MidtoneCurveEffect = class
 inherit ColorCurveEffect
Public Class MidtoneCurveEffect
Inherits ColorCurveEffect
Inheritance
MidtoneCurveEffect

Remarks

Color channel values in the middle of the intensity range are altered more than color channel values near the minimum or maximum intensity. You can use this effect to lighten (or darken) an image without loosing the contrast between the darkest and lightest portions of the image.

Constructors

Name Description
MidtoneCurveEffect(CurveChannel, Int32)

Creates a new MidtoneCurveEffect with the given midtone adjustment.

Properties

Name Description
Channel

Gets the channel or channels that the effect is applied to.

(Inherited from ColorCurveEffect)
Midtone

Gets the midtone value.

Methods

Name Description
Dispose()

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

(Inherited from Effect)
Dispose(Boolean)

Releases the unmanaged resources used by the Effect and optionally releases the managed resources.

(Inherited from Effect)

Applies to


Feedback

Was this page helpful?