Table of Contents

Class FloodEffect2

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

Use this effect to generate an image based on the specified color and alpha value.

This effect is similar to FloodEffect, but uses a ColorRgba128Float instead of a Vector4Float for specifying the color, along with the alpha mode. This effect will automatically premultiply the color value unless the alpha mode is set to Straight.

public sealed class FloodEffect2 : CustomEffect<FloodEffect2.Props>, ISerializable, IDeviceEffect, IDeviceImage, IDirect2DResource, IFactoryProperty, IDeviceEffectProperties, IObjectRef, IIsDisposed, IDisposable, IInternalImpl
Inheritance
FloodEffect2
Implements
Inherited Members

Constructors

FloodEffect2(IDeviceEffectFactory)
FloodEffect2(IDeviceEffectFactory, ColorRgba128Float, FloodAlphaMode2)