Table of Contents

Class CustomEffect<TProperties>

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

The base class for implementing a custom effect in Direct2D. The custom effects system in PaintDotNet.Direct2D1 handles many things automatically, such as just-in-time registration and auto-generation of the registration XML.

public abstract class CustomEffect<TProperties> : DeviceEffect<TProperties>, ISerializable, IDeviceEffect, IDeviceImage, IDirect2DResource, IFactoryProperty, IDeviceEffectProperties, IInternalImpl, IObjectRef, IIsDisposed, IDisposable where TProperties : CustomEffectProperties, new()

Type Parameters

TProperties

The properties class. It is recommended to use a sealed, nested class named Props.

Inheritance
DeviceEffect<TProperties>
CustomEffect<TProperties>
Implements
Derived
Inherited Members
Extension Methods

Constructors

CustomEffect(IDeviceEffectFactory)