Edit

Share via


LevelsEffect Class

Definition

Adjusts the light, mid-tone, or dark areas of an image.

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

Constructors

LevelsEffect(Int32, Int32, Int32)

Creates a new LevelsEffect with the specified highlight, midtone, and shadow values.

Properties

Highlight

Gets the highlight threshold.

Midtone

Gets the midtone adjustment.

Shadow

Gets the shadow threshold.

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