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
environmentIEffectEnvironment2The environment to clone from.
newBrushSizefloatThe new value for the BrushSize property.
Returns
- IEffectEnvironment2
The new environment.