Class
ContrastAdjustEffect

An effect that controls brightness and contrast.

Definition

Namespace:Telerik.Windows.Media.Imaging.ShaderEffects

Assembly:Telerik.Windows.Controls.ImageEditor.dll

Syntax:

cs-api-definition
public class ContrastAdjustEffect : ShaderEffectBase

Inheritance: objectShaderEffectBaseContrastAdjustEffect

Inherited Members ShaderEffectBase.DisplayName

Constructors

ContrastAdjustEffect()

Declaration

cs-api-definition
public ContrastAdjustEffect()

Fields

BrightnessProperty

Declaration

cs-api-definition
public static readonly DependencyProperty BrightnessProperty

Field Value

DependencyProperty

ContrastProperty

Declaration

cs-api-definition
public static readonly DependencyProperty ContrastProperty

Field Value

DependencyProperty

InputProperty

Declaration

cs-api-definition
public static readonly DependencyProperty InputProperty

Field Value

DependencyProperty

Properties

Brightness

Declaration

cs-api-definition
[ShaderNumericProperty(0, -1, 1, ResourceKey = "ImageEditor_Effect_Brightness")]
public double Brightness { get; set; }

Property Value

double

Contrast

Declaration

cs-api-definition
[ShaderNumericProperty(1.5, 0, 2, ResourceKey = "ImageEditor_Effect_ContrastAdjust")]
public double Contrast { get; set; }

Property Value

double

Input

Declaration

cs-api-definition
public Brush Input { get; set; }

Property Value

Brush

Name

Declaration

cs-api-definition
public override string Name { get; }

Property Value

string

Overrides ShaderEffectBase.Name