Table of Contents

Class CroppedFloodEffect.Props

Namespace
PaintDotNet.Direct2D1.Effects
Assembly
PaintDotNet.Windows.Framework.dll
public sealed class CroppedFloodEffect.Props : CustomEffectProperties
Inheritance
CroppedFloodEffect.Props
Inherited Members

Constructors

Props()

Properties

AlphaMode

Specifies the alpha mode of the output. If this is set to Premultiplied, the color will be premultiplied, which is usually the correct choice.
The default value is Premultiplied.

BorderMode

Specifies how the border of the cropped region is treated.
BorderMode.Soft will apply antialiasing if the crop rectangle falls on fractional pixel coordinates.
BorderMode.Hard will result in clamping and a hard edge.
The default value is BorderMode.Soft.

Color

The color and opacity of the output. This effect will premultiply the color values if the AlphaMode property is set to Premultiplied, which is the default and is usually the correct choice.
The default value is { R=0, G=0, B=0, A=1} (opaque black).

Rect

The region of the output. The default value is { -float.Max, -float.Max, +float.Max, +float.Max }, which results in no cropping.

Methods

CreateImpl()
GetAuthor()
GetCategory()
GetDescription()
GetDisplayName()