Table of Contents

Method CloneWithNewBrushSize

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

CloneWithNewBrushSize(IEffectEnvironment, 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 IEffectEnvironment CloneWithNewBrushSize(this IEffectEnvironment environment, float newBrushSize)

Parameters

environment IEffectEnvironment

The environment to clone from.

newBrushSize float

The new value for the BrushSize property.

Returns

IEffectEnvironment

The new environment.

Remarks