Table of Contents

Class ContrastEffect

Namespace
PaintDotNet.Direct2D1.Effects
Assembly
PaintDotNet.Windows.Core.dll

Increases or decreases the contrast of an image.

The contrast function modifies each color channel value using two piecewise quadratic polynomials that meet with slope continuity at the point (0.5, 0.5).

For more information, see Contrast effect

public sealed class ContrastEffect : DeviceEffect<ContrastEffect.Props>, ISerializable, IDeviceEffect, IDeviceImage, IDirect2DResource, IFactoryProperty, IDeviceEffectProperties, IObjectRef, IIsDisposed, IDisposable, IInternalImpl
Inheritance
ContrastEffect
Implements
Inherited Members
Extension Methods

Constructors

ContrastEffect(IDeviceEffectFactory)
ContrastEffect(IDeviceEffectFactory, IDeviceImage, float, bool)