Edit

Share via


BrightnessContrastEffect Class

Definition

Changes the brightness and contrast of an image.

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

Constructors

BrightnessContrastEffect(Int32, Int32)

Creates a new BrightnessContrastEffect with the given parameters.

Properties

BrightnessLevel

Gets an integer in the range -255 through 255 that specifies the brightness level.

ContrastLevel

Gets the contrast level.

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