Table of Contents

Method CreateEffect

Namespace
PaintDotNet.Direct2D1
Assembly
PaintDotNet.Windows.dll

CreateEffect(in DeviceEffectID)

Creates an effect for the specified effect ID.

IDeviceEffect CreateEffect(in DeviceEffectID effectID)

Parameters

effectID DeviceEffectID

The class ID of the effect to create. See DeviceEffectIDs for a list of the built-in Direct2D effects.

Returns

IDeviceEffect

The new effect.