Table of Contents

Property Scale

Namespace
PaintDotNet.Effects.Gpu
Assembly
PaintDotNet.Effects.Gpu.dll

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.

public DynamicImage.ValuePropertyAccessor<float> Scale { get; }

Property Value

DynamicImage.ValuePropertyAccessor<float>