Property Center
- Namespace
- PaintDotNet.Effects.Gpu
- Assembly
- PaintDotNet.Effects.Gpu.dll
Center
The origin of the wave pattern.
For the distance- and angle-based patterns this is the point that the wavefronts are
arranged around. For the linear patterns it is the point at which the wave's phase is
zero, so moving it slides them along their direction of travel.
The default value is (0, 0).
public DynamicImage.ValuePropertyAccessor<Point2Float> Center { get; }
Property Value
Remarks
Every pattern reads this, but Paint.NET's own Waves dialog only offers it for the ones that arrange their wavefronts around it. For the linear patterns it would duplicate Phase, which expresses the same shift in wavelengths rather than in pixels, so the dialog leaves it at the middle of the selection for those.