Table of Contents

Class EffectEnvironment2Extensions

Namespace
PaintDotNet.Effects
Assembly
PaintDotNet.Effects.Core.dll
public static class EffectEnvironment2Extensions
Inheritance
EffectEnvironment2Extensions
Inherited Members

Methods

CloneWithAliasedSelection(IEffectEnvironment2)

Creates a copy of the environment for use with another effect instance, while switching the selection data to aliased mode. This permits an effect that is hosting another effect to specify antialiased selection quality, but to have the inner effect use aliased selection quality.

CloneWithNewBrushSize(IEffectEnvironment2, float)

Creates a copy of the environment for use with another effect instance, while replacing the primary and secondary colors. Other data is unaffected.

CloneWithNewSource(IEffectEnvironment2, IBitmapSource)

Creates a copy of the environment for use with another effect instance, while replacing the source layer's bitmap. Other data is unaffected, including the document's bitmap.

CloneWithNewUserColors(IEffectEnvironment2, ManagedColor, ManagedColor)

Creates a copy of the environment for use with another effect instance, while replacing the primary and secondary colors. Other data is unaffected.