Table of Contents

Method CloneWithNewBrushSize

Namespace
PaintDotNet.Effects
Assembly
PaintDotNet.Effects.Core.dll

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.

public static IEffectEnvironment2 CloneWithNewBrushSize(this IEffectEnvironment2 environment, float newBrushSize)

Parameters

environment IEffectEnvironment2

The environment to clone from.

newBrushSize float

The new value for the BrushSize property.

Returns

IEffectEnvironment2

The new environment.

Remarks