Table of Contents

Class AffineTransform2DEffect.Props

Namespace
PaintDotNet.Direct2D1.Effects
Assembly
PaintDotNet.Windows.Core.dll
public sealed class AffineTransform2DEffect.Props : DeviceEffectProperties
Inheritance
AffineTransform2DEffect.Props
Inherited Members

Constructors

Props()

Properties

BorderMode

The mode used to calculate the border of the image, soft or hard.
The default value is Soft.

ClassID

Implemented by the derived class to specify the effect's class ID (CLSID) when registering and creating the effect and for binding to an IDeviceEffectProperties.
Note that this is different than the ID property accessor, which queries the IDeviceEffectProperties for the actual runtime effect class ID.
Overriding this property is only necessary in advanced scenarios, such as when wrapping an existing effect (e.g. built-in Direct2D effects), or when working with CustomEffects that have their own generic type arguments (e.g. PixelShaderEffect).

Input
InterpolationMode

The interpolation mode used to scale the image.
The default value is Linear

Sharpness

In the high quality cubic interpolation mode, the sharpness level of the scaling filter as a float between 0 and 1.
The values are unitless. You can use sharpness to adjust the quality of an image when you scale the image.
The sharpness factor affects the shape of the kernel. The higher the sharpness factor, the smaller the kernel.
The default value is 0.

TransformMatrix

The 3x2 matrix to transform the image. The default value is the identity transform.