Class PdnTwistEffect.Props
- Namespace
- PaintDotNet.Effects.Gpu
- Assembly
- PaintDotNet.Effects.Gpu.dll
public sealed class PdnTwistEffect.Props : PdnDistortionEffect.Props
- Inheritance
-
PdnTwistEffect.Props
- Inherited Members
Properties
- Amount
The amount of twisting to perform.
The range is [-2, +2], which corresponds to the UI's range of [-200, +200].
The default value is 0.3.
- Category
The category of the effect.
- Center
The center point of the twist effect.
- Description
The description of the effect.
- DisplayName
The name of the effect.
- Scale
The scale of the twist effect. This is usually set to a user-defined scaling value (with a range of e.g. [0.01, 2.0]) multiplied by the ratio of the clipping regions's diameter (the minimum of its width and height) to the InputRect's diameter (that is: userScale * min(clipRect.Width, clipRect.Height) / min(inputRect.Width, inputRect.Height)). If the clipping and input rects are the same (e.g. no active selection), then there's no need to multiply by that ratio.
The range is [float.Epsilon, float.MaxValue], and the default is 1.0.