Table of Contents

Class HistogramEffect.Props

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

Constructors

Props()

Properties

Bins

Specifies the number of bins used for the histogram. The range of intensity values that fall into a particular bucket depend on the number of specified buckets. The default value is 256.

ChannelSelect

Specifies the channel used to generate the histogram. This effect has a single data output corresponding to the specified channel.

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).

HistogramOutput

After the effect has been drawn to a render target (device context), this property contains the histogram data.

Input