Table of Contents

Class FloodEffect.Props

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

Constructors

Props()

Properties

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

Color

The color and opacity of the bitmap. The individual values for each channel are unbounded and unitless. The effect doesn't modify the values for the channel. The RGBA values for each channel range from 0 to 1. The default value is { R=0, G=0, B=0, A=1 } (opaque black). To use a ColorRgba128Float as a premultiplied color, use: (Vector4Float)color.ToPremultiplied()