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
IEffectEnvironmentThe environment to clone from.
newBrushSize
floatThe new value for the BrushSize property.
Returns
- IEffectEnvironment
The new environment.