Table of Contents

Class HighlightsAndShadowsEffect.Props

Namespace
PaintDotNet.Direct2D1.Effects
Assembly
PaintDotNet.Windows.Core.dll
public sealed class HighlightsAndShadowsEffect.Props : DeviceEffectProperties
Inheritance
HighlightsAndShadowsEffect.Props
Inherited Members

Constructors

Props()

Properties

Clarity

A float value indicating how much to increase or decrease clarity. The allowed range is -1.0 to 1.0. The default value is 0.0.

ClassID

Implemented by the derived class to specify the effect's class ID (CLSID) when registering and creating the effect and for binding to an IDeviceEffectProperties.
Note that this is different than the ID property accessor, which queries the IDeviceEffectProperties for the actual runtime effect class ID.
Overriding this property is only necessary in advanced scenarios, such as when wrapping an existing effect (e.g. built-in Direct2D effects), or when working with CustomEffects that have their own generic type arguments (e.g. PixelShaderEffect).

Highlights

A float value indicating how much to increase or decrease highlights. The allowed range is -1.0 to 1.0. The default value is 0.0.

Input
InputGamma

Indicates the gamma of the input image. The effect works in linear gamma space, so if the input image is known to be linear, the Linear value should be used to prevent sRGB to linear conversions from being performed.
The default value is Srgb.

MaskBlurRadius

A float value controlling the size of the region used around a pixel to classify the pixel as highlight or shadow. Lower values result in more localized adjustments.
The allowed range is 0.0 to 10.0. The default value is 1.25.

Shadows

A float value indicating how much to increase or decrease shadows. The allowed range is -1.0 to 1.0. The default value is 0.0.