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)

Applies to