Search code examples
c#wpfdistortion

WPF Distorted Shape


I need to add distortion effects to a shape in WPF.

For example, I want to distort a shape with spikes such that it would look as shown below:

Distorted circle


Solution

  • Not sure what exactly you are trying to achieve, but if you need just static shape, then you can also use Path. Advantage of Path is, that you can create (or convert any image to) vectors with Inkscape and then export it to XAML Path.