Edit

Kongsi melalui


MidtoneCurveEffect Class

Definition

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

MidtoneCurveEffect(CurveChannel, Int32)

Creates a new MidtoneCurveEffect with the given midtone adjustment.

Properties

Channel

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

(Inherited from ColorCurveEffect)
Midtone

Gets the midtone value.

Methods

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)
Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to