Table of Contents

Class EffectEnvironmentParameters

Namespace
PaintDotNet.Effects
Assembly
PaintDotNet.Effects.Core.dll
public sealed class EffectEnvironmentParameters : RefTrackedObject, ISerializable, IEffectEnvironment, IObjectRef, IIsDisposed, IDisposable, IInternalImpl
Inheritance
EffectEnvironmentParameters
Implements
Inherited Members
Extension Methods

Properties

BrushWidth
DefaultParameters
DocumentResolution
PrimaryColor
SecondaryColor
SelectionBounds
SourceSurface

Methods

CloneWithDifferentSourceSurface(Surface)

Use this if you are implementing an Effect that needs to chain together other Effects which will need the same environment parameters but which will be reading from a different source Surface.

CreateFrom(IEffectEnvironment)
GetSelectionAsPdnRegion()
GetSelectionAsScans()

Gets a list of rectangles that that are affected by the selection. These are the "regions of interest," aka "rois." The rectangles are sorted in left-to-right, top-to-bottom order ("typewriter order").